Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REPORTTIME=1
- export LSCOLORS=exfxcxdxbxegedabagacad
- export EDITOR="/usr/bin/mate -w"
- export PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/texbin:/usr/X11/bin:/usr/local/git/bin/"
- export ZLS_COLORS=$LS_COLORS
- export PS1='[%~]$ '
- precmd() { printf "\033]0;${PWD/#$HOME/~}\007"; } # Sets Title
- alias ls="ls -G"
- alias grep="grep --color"
- ###########
- # Options #
- ###########
- setopt APPEND_HISTORY
- setopt NO_BEEP
- setopt AUTO_CD
- setopt COMPLETE_IN_WORD
- setopt CORRECT
- setopt MENUCOMPLETE
- setopt HISTIGNOREDUPS
- #setopt \
- # no_beep \
- # auto_cd \
- # complete_in_word \
- # hash_cmds \
- # list_types \
- # auto_remove_slash \
- # NO_menu_complete \
- # NO_auto_menu \
- # NO_hup \
- # NO_list_beep \
- # interactive_comments \
- # inc_append_history \
- # auto_list \
- # chase_dots \
- # extendedglob
- ################
- # Autocomplete #
- ################
- autoload -U compinit
- compinit
- zstyle ':completion:*' completer _complete _ignored
- zstyle -e ':completion:*:approximate:*' max-errors 'reply=( $(( ($#PREFIX+$#SUFFIX)/3 )) numeric )'
- zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
- zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the character to insert%s'
- zstyle ':completion:*:processes' command 'ps -aU$USER'
- zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
- zstyle ':completion:*::::' completer _expand _complete _ignored _approximate
- zstyle ':completion:*:expand:*' tag-order all-expansions
- zstyle ':completion:*' hosts $(awk '/^[^#]/ {print $2 $3" "$4" "$5}' /etc/hosts | grep -v ip6- && grep "^#%" /etc/hosts | awk -F% '{print $2}')
- zstyle ':completion:*' verbose yes
- zstyle ':completion:*:descriptions' format '%B%d%b'
- zstyle ':completion:*:messages' format '%d'
- zstyle ':completion:*:warnings' format 'No matches for: %d'
- zstyle ':completion:*:corrections' format '%B%d (errors: %e)%b'
- zstyle ':completion:*' group-name ''
- zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
- zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters
- zstyle '*' hosts $hosts
- zstyle ':completion:*:*:(^rm):*:*files' ignored-patterns '*?.o' '*?.c~' '*?.old' '*?.pro'zstyle ':completion:*:functions' ignored-patterns '_*'
- zstyle ':completion:*:scp:*' tag-order files users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *'
- zstyle ':completion:*:scp:*' group-order files all-files users hosts-domain hosts-host hosts-ipaddr
- zstyle ':completion:*:ssh:*' tag-order users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *'
- zstyle ':completion:*:ssh:*' group-order hosts-domain hosts-host users hosts-ipaddr
- zstyle '*' single-ignored show
Add Comment
Please, Sign In to add comment