All pastes #252047 Raw Edit

Anonyme

public text v1 · immutable
#252047 ·published 2006-11-19 00:14 UTC
rendered paste body
# Prompt
PS1='-%n@%m- %~>'

alias ll='ls -l'
alias la='ls -la'

# Completions
autoload -U compinit
compinit

# Completion caching
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ~/.zsh/cache

# Hosts
[ -f ~/.ssh/config ] && : ${(A)ssh_config_hosts:=${${${${(@M)${(f)"$(<~/.ssh/con
fig)"}:#Host *}#Host }:#*\**}:#*\?*}}
[ -f ~/.ssh/known_hosts ] && : ${(A)ssh_known_hosts:=${${${(f)"$(<$HOME/.ssh/kno
wn_hosts)"}%%\ *}%%,*}}
zstyle ':completion:*:*:*' hosts $ssh_config_hosts $ssh_known_hosts

# Describe options in full
zstyle ':completion:*:options' description 'yes'
zstyle ':completion:*:options' auto-description '%d'

# Process
zstyle ':completion:*:*:kill:*' menu yes select