diff options
Diffstat (limited to 'zshrc.dot.link')
-rw-r--r-- | zshrc.dot.link | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/zshrc.dot.link b/zshrc.dot.link index 9df34c6..5e521d1 100644 --- a/zshrc.dot.link +++ b/zshrc.dot.link @@ -1,3 +1,6 @@ +# Source default profile +source ~/.profile + # Set up the prompt autoload -Uz promptinit && promptinit autoload -U colors && colors @@ -21,6 +24,11 @@ fpath=(~/.zsh/completion $fpath) autoload -Uz compinit compinit +# CD behavior +# Whishlist: https://superuser.com/questions/565310/silent-cd-using-cdpath-with-zsh/565396 +setopt auto_cd + +# Completion config zstyle ':completion:*' auto-description 'specify: %d' zstyle ':completion:*' completer _expand _complete _correct _approximate zstyle ':completion:*' format 'Completing %d' @@ -37,11 +45,11 @@ zstyle ':completion:*' use-compctl false zstyle ':completion:*' verbose true zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' +zstyle ':completion:*:descriptions' format %d +zstyle ':completion:*:descriptions' format %B%d%b +zstyle ':completion:*:complete:(cd|pushd):*' tag-order 'local-directories named-directories path-directories' # Powerline if [ -e '/usr/share/powerline/bindings/zsh/powerline.zsh' ]; then . /usr/share/powerline/bindings/zsh/powerline.zsh fi - -# Source default profile -source ~/.profile |