X-Git-Url: http://105106.c2e0p.group/dotfiles.git/blobdiff_plain/b165edaf9a28756eeca5bdc594b0baa1983d9f32..f4e318ead195f190703dc8b02ef45f8d7d0f4d2d:/zsh_login diff --git a/zsh_login b/zsh_login index f796c23..2a24355 100644 --- a/zsh_login +++ b/zsh_login @@ -6,6 +6,7 @@ if [[ "$terminfo[colors]" -ge 8 ]]; then fi # Set up tab completion +fpath=(~/.dotfiles/completions "${fpath[@]}") autoload -U compinit compinit zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' @@ -23,21 +24,40 @@ precmd() { [[ -n $vcs_info_msg_0_ ]] && psvar[1]="$vcs_info_msg_0_" } +__git_files () { + _wanted files expl 'local files' _files +} + setopt PROMPT_SUBST -setopt INC_APPEND_HISTORY setopt SHARE_HISTORY setopt extended_glob +setopt AUTO_CD +setopt DVORAK +setopt CDABLE_VARS +setopt CD_SILENT -PS1=$'\(zsh) %(?.%F{green}:-\)%f.%F{red}:-(%f) %(1v.%1v .)%n@%m:%(3~,.../,)%2~> ' -PATH=~/bin:$PATH +PS1=$'%(?.😊.😡) %(1v.%1v .)%n@%m:%(3~,.../,)%2~> ' +PATH=~/bin:$PATH:~/homebrew/bin: + +if [[ -d ~/homebrew/bin ]]; then + PATH=$PATH:~/homebrew/bin +fi HISTFILE=~/.zsh_history HISTSIZE=5000 SAVEHIST=1000 +WORDCHARS='*?_-.[]~&;!#$%^(){}<>' export MANPATH=~/man:$MANPATH + +if [[ -d ~/homebrew/share/man ]]; then + MANPATH=$MANPATH:~/homebrew/share/man +fi + export EDITOR=/usr/bin/vim export LSCOLORS=gxfxcxdxbxegedabagacad +export CDPATH=~ + source ~/.dotfiles/zsh_aliases source ~/.dotfiles/zsh_webkit_login