diff --git a/dot-config/zsh/interactive/skim.zsh b/dot-config/zsh/interactive/skim.zsh new file mode 100644 index 0000000..223750d --- /dev/null +++ b/dot-config/zsh/interactive/skim.zsh @@ -0,0 +1,8 @@ +#! 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 diff --git a/dot-config/zsh/login/langs.zsh b/dot-config/zsh/login/langs.zsh index 6ea4d1d..24e9141 100644 --- a/dot-config/zsh/login/langs.zsh +++ b/dot-config/zsh/login/langs.zsh @@ -2,15 +2,6 @@ local -a newbins -# asdf -export ASDF_CONFIG_FILE=$XDG_CONFIG_HOME/asdf/asdfrc -export ASDF_DATA_DIR=$XDG_DATA_HOME/asdf -# Don't add asdf's directories to the command path, because evaluating its -# version resolution every time you call a tool is really slow. Instead just -# configure asdf to respect XDG base directories, then rely on Direnv to -# resolve paths properly for each project, as described here: -# https://github.com/zimfw/asdf#how-to-configure-asdf-to-work-with-the-direnv-installed-with-my-system-package-manager - # docker export DOCKER_CONFIG=$XDG_CONFIG_HOME/docker diff --git a/dot-config/zsh/zimrc.zsh b/dot-config/zsh/zimrc.zsh index 4ebd930..4234941 100644 --- a/dot-config/zsh/zimrc.zsh +++ b/dot-config/zsh/zimrc.zsh @@ -39,7 +39,6 @@ zmodule mollifier/cd-gitroot --fpath . --autoload cd-gitroot zmodule zsh-users/zsh-autosuggestions (( ${+commands[brew]} )) && zmodule homebrew -zeval-if-installed atuin 'atuin init zsh --disable-up-arrow' zeval-if-installed direnv 'direnv hook zsh' zeval-if-installed scmpuff 'scmpuff init --shell=zsh'