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
|
while read f
|
||||||
do
|
do
|
||||||
source "$f"
|
source "$f"
|
||||||
done < <(find "${HOME}/.local/dotfiles" -type f -name '*.zsh')
|
done < <(find "${HOME}/.local/dotfiles" \( -type l -o -type f \) -name '*.zsh')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
9
.zshrc
9
.zshrc
|
@ -154,10 +154,11 @@ zpath() { cd -P . || return
|
||||||
# Include local functions/aliases/environments:
|
# Include local functions/aliases/environments:
|
||||||
while read f
|
while read f
|
||||||
do
|
do
|
||||||
if [[ -f "$(zpath "$f")" ]]; then
|
#if [[ -f "$(zpath "$f")" ]]; then
|
||||||
source "$f"
|
# source "$f"
|
||||||
fi
|
#fi
|
||||||
done < <(find "${HOME}/.local/dotfiles/" -name '*.zsh')
|
source "$f"
|
||||||
|
done < <(find "${HOME}/.local/dotfiles/" \( -type l -o -type f \) -name '*.zsh')
|
||||||
|
|
||||||
# Disable Ctrl+S Scroll-Locking
|
# Disable Ctrl+S Scroll-Locking
|
||||||
stty -ixon
|
stty -ixon
|
||||||
|
|
Loading…
Reference in a new issue