zsh: direnv, cd tricks
This commit is contained in:
parent
bb9932b736
commit
375fd97462
@ -4,6 +4,10 @@ alias grep='grep --color'
|
||||
alias vim='nvim'
|
||||
alias vi='nvim'
|
||||
|
||||
# cd tricks
|
||||
alias -- -='cd -'
|
||||
setopt auto_cd # there is no binary by that name in your $PATH, your shell will cd into it that directory
|
||||
|
||||
bindkey -v
|
||||
|
||||
if [ "${TERM}" = "xterm" ]; then
|
||||
@ -25,6 +29,9 @@ if [ -n "$SSH_AUTH_SOCK" ]; then
|
||||
export SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock
|
||||
fi
|
||||
|
||||
# direnv setup
|
||||
whence -p direnv &>/dev/null && eval "$(direnv hook zsh)"
|
||||
|
||||
# Highlight the current autocomplete option
|
||||
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user