diff --git a/ruby/path.zsh b/ruby/path.zsh index 5c4e75328..0c0118584 100755 --- a/ruby/path.zsh +++ b/ruby/path.zsh @@ -3,8 +3,7 @@ if [ -d "$HOME/.rbenv" ]; then export PATH="$PATH:$HOME/.rbenv/bin" fi -# shellcheck disable=SC2039 -if rbenv &>/dev/null; then +if which rbenv >/dev/null 2>&1; then rbenv() { eval "$(command rbenv init -)" rbenv "$@" diff --git a/system/aliases.zsh b/system/aliases.zsh index 1c25e6545..41ded6367 100755 --- a/system/aliases.zsh +++ b/system/aliases.zsh @@ -1,9 +1,10 @@ #!/bin/sh + +alias wtf="imgcat ~/.dotfiles/imgs/wtf.gif" + # grc overides for ls # Made possible through contributions from generous benefactors like # `brew install coreutils` -alias wtf="imgcat ~/.dotfiles/imgs/wtf.gif" - if which gls >/dev/null 2>&1; then alias ls="gls -F --color" alias l="gls -lAh --color" diff --git a/zsh/config.zsh b/zsh/config.zsh index b0298d670..2c9906377 100755 --- a/zsh/config.zsh +++ b/zsh/config.zsh @@ -107,10 +107,3 @@ else bindkey "^[3;5~" delete-char bindkey "\e[3~" delete-char fi - -# ignore case -zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' -# menu if nb items > 2 -zstyle ':completion:*' menu select=2 -# list of completers to use -zstyle ':completion:*::::' completer _expand _complete _ignored _approximate