Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### LOAD STUFF ###
- autoload -U compinit promptinit colors
- compinit
- promptinit
- colors
- ### COMPLETION ###
- zstyle ':completion:*' menu select
- zstyle ':completion:*:processes-names' command 'ps -e -o comm='
- ### HISTORY ###
- HISTFILE=~/.zsh/histfile
- HISTSIZE=131072
- SAVEHIST=131072
- ### OPTIONS ###
- setopt append_history # default,
- setopt auto_cd # type in a directory to cd there
- setopt auto_pushd # when cd, pushd
- setopt correct # corrects commands
- setopt complete_aliases # does not substitute aliases so that they appear like commands
- setopt complete_in_word # completes portion of command before cursor
- setopt extended_glob # adds #,~,^ to globbing
- setopt hist_ignore_dups # ignore entries if dup of the previous
- setopt interactive_comments # allows comments in interactive shells
- setopt pushd_ignore_dups # don't push the same dir twice in a row
- setopt transient_rprompt # removes right prompt after command is entered
- #setopt auto_list
- #setopt menu_complete # on first <tab> displays full menu and selects first
- #setopt bash_auto_list # delays seeing menu/list by one <tab>
- #setopt auto_menu
- #setopt list_ambiguous
- unsetopt beep
- unsetopt clobber
- bindkey -v
- bindkey '^[[Z' reverse-menu-complete
- ### ALIAS ###
- alias ls='ls --color'
- alias la='ls -a'
- alias cls='clear && ls'
- ### PROMPT ###
- PROMPT='%(0?..%F{green}%B)[%(!.%B%U%F{green}root%f@%M%b%u.%n@%M) %1~]%#%(0?..%f%b) '
- RPROMPT='[%T]'
- ### COMPINSTALL ###
- # The following lines were added by compinstall
- zstyle ':completion:*' completer _complete _ignored _match _approximate
- 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:*' matcher-list '' 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=* r:|=*'
- zstyle ':completion:*' menu select=0
- zstyle ':completion:*' select-prompt %B%U%p%U%B
- zstyle :compinstall filename '/home/jackson/.zsh/.zshrc'
- autoload -Uz compinit
- compinit
- # End of lines added by compinstall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement