Updated zsh dotfiles loader
This commit is contained in:
parent
a942042bcc
commit
2ea129fab7
3 changed files with 7 additions and 6 deletions
|
@ -1 +1 @@
|
|||
alias code="FLATPAK_ENABLE_SDK_EXT=golang,rust-stable,php74 flatpak run com.visualstudio.code"
|
||||
alias code='FLATPAK_ENABLE_SDK_EXT="golang,rust-stable,php74" flatpak run com.visualstudio.code'
|
||||
|
|
|
@ -3,6 +3,6 @@ function reload_dotfiles ()
|
|||
while read f
|
||||
do
|
||||
source "$f"
|
||||
done < <(find "${HOME}/.local/dotfiles" -type f -name '*.zsh')
|
||||
done < <(find "${HOME}/.local/dotfiles" \( -type l -o -type f \) -name '*.zsh')
|
||||
}
|
||||
|
||||
|
|
7
.zshrc
7
.zshrc
|
@ -154,10 +154,11 @@ zpath() { cd -P . || return
|
|||
# Include local functions/aliases/environments:
|
||||
while read f
|
||||
do
|
||||
if [[ -f "$(zpath "$f")" ]]; then
|
||||
#if [[ -f "$(zpath "$f")" ]]; then
|
||||
# source "$f"
|
||||
#fi
|
||||
source "$f"
|
||||
fi
|
||||
done < <(find "${HOME}/.local/dotfiles/" -name '*.zsh')
|
||||
done < <(find "${HOME}/.local/dotfiles/" \( -type l -o -type f \) -name '*.zsh')
|
||||
|
||||
# Disable Ctrl+S Scroll-Locking
|
||||
stty -ixon
|
||||
|
|
Loading…
Reference in a new issue