|
|
@ -3,6 +3,8 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
autoload -Uz compinit promptinit
|
|
|
|
autoload -Uz compinit promptinit
|
|
|
|
|
|
|
|
autoload -z edit-command-line
|
|
|
|
|
|
|
|
zle -N edit-command-line
|
|
|
|
compinit
|
|
|
|
compinit
|
|
|
|
promptinit
|
|
|
|
promptinit
|
|
|
|
|
|
|
|
|
|
|
@ -12,6 +14,15 @@ prompt fade green
|
|
|
|
# Return Code on right prompt
|
|
|
|
# Return Code on right prompt
|
|
|
|
RPS1='[%F{yellow}%?%f]'
|
|
|
|
RPS1='[%F{yellow}%?%f]'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# history stuff
|
|
|
|
|
|
|
|
HISTFILE=~/.histfile
|
|
|
|
|
|
|
|
HISTSIZE=1000
|
|
|
|
|
|
|
|
SAVEHIST=1000
|
|
|
|
|
|
|
|
setopt appendhistory
|
|
|
|
|
|
|
|
bindkey -e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# thanks to slashbeast for these ones
|
|
|
|
# thanks to slashbeast for these ones
|
|
|
|
# Fancy cd that can cd into parent directory, if trying to cd into file.
|
|
|
|
# Fancy cd that can cd into parent directory, if trying to cd into file.
|
|
|
|
# useful with ^F fuzzy searcher.
|
|
|
|
# useful with ^F fuzzy searcher.
|
|
|
@ -66,3 +77,4 @@ PS1='%F{green}%B%K{green}█▓▒░%F{white}%K{green}%B%n@%m%b%F{green}%K{blac
|
|
|
|
alias grep='grep --colour=auto'
|
|
|
|
alias grep='grep --colour=auto'
|
|
|
|
alias ll='ls -alFh'
|
|
|
|
alias ll='ls -alFh'
|
|
|
|
lt () { ls -lt ${1} | head }
|
|
|
|
lt () { ls -lt ${1} | head }
|
|
|
|
|
|
|
|
EDITOR=vim
|
|
|
|