updated stuff
This commit is contained in:
parent
f70ceede79
commit
3e58dd1816
1 changed files with 19 additions and 0 deletions
19
zsh/plgs/fzf.zsh
Normal file
19
zsh/plgs/fzf.zsh
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
fzfComp=""
|
||||||
|
fzfKeyb=""
|
||||||
|
|
||||||
|
if [[ $os == "arch" ]]; then
|
||||||
|
fzfComp="/usr/share/fzf/completion.zsh"
|
||||||
|
fzfKeyb="/usr/share/fzf/key-bindings.zsh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ $os == "debian" || $os == "ubuntu" ]]; then
|
||||||
|
fzfComp="/usr/share/doc/fzf/examples/completion.zsh"
|
||||||
|
fzfKeyb="/usr/share/doc/fzf/examples/key-bindings.zsh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ $os == "fedora" ]]; then
|
||||||
|
fzfKeyb="/usr/share/fzf/shell/key-bindings.zsh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
source $fzfComp &>/dev/null
|
||||||
|
source $fzfKeyb &>/dev/null
|
Loading…
Add table
Reference in a new issue