Remove need for XDG_DATA_HOME/zsh/skim.zsh
This commit is contained in:
parent
78208004a3
commit
dceeff9590
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
||||||
#! zsh
|
#! zsh
|
||||||
if [[ -f $XDG_DATA_HOME/zsh/skim.zsh ]]; then
|
if (( $+commands[sk] )); then
|
||||||
source $XDG_DATA_HOME/zsh/skim.zsh
|
# TODO: figure out where lotabout/skim puts these Zsh support files on non-Homebrew installs
|
||||||
|
[[ $- == *i* ]] && source /usr/local/opt/sk/share/zsh/site-functions/completion.zsh 2>/dev/null
|
||||||
|
source /usr/local/opt/sk/share/zsh/site-functions/key-bindings.zsh
|
||||||
else
|
else
|
||||||
bindkey '^R' history-incremental-search-backward
|
bindkey '^R' history-incremental-search-backward
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue