updated stuff
This commit is contained in:
parent
10891f685b
commit
8330913b0f
1 changed files with 15 additions and 9 deletions
20
zsh/.zshrc
20
zsh/.zshrc
|
@ -17,17 +17,23 @@ for file in $ZDOTDIR/libs/*.zsh; do source "$file"; done
|
||||||
for file in $ZDOTDIR/plgs/*.zsh; do source "$file"; done
|
for file in $ZDOTDIR/plgs/*.zsh; do source "$file"; done
|
||||||
|
|
||||||
if [[ $os == "arch" ]]; then
|
if [[ $os == "arch" ]]; then
|
||||||
source $fzf/completion.zsh
|
fzfComp="/usr/share/fzf/completion.zsh"
|
||||||
source $fzf/key-bindings.zsh
|
fzfKeyb="/usr/share/fzf/key-bindings.zsh"
|
||||||
source $share/doc/pkgfile/command-not-found.zsh
|
fi
|
||||||
else
|
|
||||||
if [[ $os == "debian" || $os == "ubuntu" ]]; then
|
if [[ $os == "debian" || $os == "ubuntu" ]]; then
|
||||||
source $share/doc/fzf/examples/key-bindings.zsh
|
fzfComp="/usr/share/doc/fzf/examples/completion.zsh"
|
||||||
else
|
fzfKeyb="/usr/share/doc/fzf/examples/key-bindings.zsh"
|
||||||
source $share/fzf/shell/key-bindings.zsh
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $os == "fedora" ]]; then
|
||||||
|
fzfComp=""
|
||||||
|
fzfKeyb="/usr/share/fzf/shell/key-bindings.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
source $fzfComp &>/dev/null
|
||||||
|
source $fzfKeyb
|
||||||
|
|
||||||
source $ZDOTDIR/tmux/tmux.zsh
|
source $ZDOTDIR/tmux/tmux.zsh
|
||||||
|
|
||||||
[[ ! -f $ZDOTDIR/.p10k.zsh ]] || source $ZDOTDIR/.p10k.zsh
|
[[ ! -f $ZDOTDIR/.p10k.zsh ]] || source $ZDOTDIR/.p10k.zsh
|
||||||
|
|
Loading…
Add table
Reference in a new issue