updated stuff
This commit is contained in:
parent
cad3482f3d
commit
f70ceede79
2 changed files with 1 additions and 21 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
zsh/.localrc.zsh
|
||||
zsh/.zcompcache
|
||||
|
|
21
zsh/.zshrc
21
zsh/.zshrc
|
@ -20,27 +20,6 @@ bashcompinit
|
|||
for file in $ZDOTDIR/libs/*.zsh; do source "$file"; done
|
||||
for file in $ZDOTDIR/plgs/*.zsh; do source "$file"; done
|
||||
|
||||
if [[ $os == "arch" ]]; then
|
||||
fzfComp="/usr/share/fzf/completion.zsh"
|
||||
fzfKeyb="/usr/share/fzf/key-bindings.zsh"
|
||||
if [[ $(hostname) == "megumi" ]]; then
|
||||
export path=($path /snap/bin)
|
||||
fi
|
||||
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
|
||||
fzfComp=""
|
||||
fzfKeyb="/usr/share/fzf/shell/key-bindings.zsh"
|
||||
fi
|
||||
|
||||
source $fzfComp &>/dev/null
|
||||
source $fzfKeyb
|
||||
|
||||
source $ZDOTDIR/tmux/tmux.zsh
|
||||
|
||||
[[ ! -f $ZDOTDIR/.p10k.zsh ]] || source $ZDOTDIR/.p10k.zsh
|
||||
|
|
Loading…
Add table
Reference in a new issue