Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
more speed improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Apr 10, 2016
1 parent a0a3ccf commit 8f1b9c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
3 changes: 1 addition & 2 deletions ruby/path.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
5 changes: 3 additions & 2 deletions system/aliases.zsh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
7 changes: 0 additions & 7 deletions zsh/config.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8f1b9c7

Please sign in to comment.