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
|
||||
if [[ -f $XDG_DATA_HOME/zsh/skim.zsh ]]; then
|
||||
source $XDG_DATA_HOME/zsh/skim.zsh
|
||||
if (( $+commands[sk] )); then
|
||||
# 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
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue