Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

98 lines (88 sloc) 2.861 kb
source /usr/share/doc/pkgfile/command-not-found.zsh
source /etc/profile
# Lines configured by zsh-newuser-install
setopt extendedglob
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/wormzy/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
compdef _pacman pacman-color=pacman
export PS1="%F{12}%n%f@%F{13}%M%f%F{230}[%l]%f%~$ "
#export PS1="%n@%M[%l]:%~$ "
export HISTSIZE=2000
export HISTFILE="$HOME/.history"
export SAVEHIST=$HISTSIZE
export EDITOR=/usr/bin/vim
export PAGER=/usr/bin/vimpager
setopt hist_ignore_all_dups
setopt hist_ignore_space
setopt hash_list_all
setopt autocd
#setopt correctall
setopt correct
zstyle ':completion:*' prefix-needed true
setopt nobeep
bindkey "\e[1~" beginning-of-line
bindkey "\e[2~" quoted-insert
bindkey "\e[3~" delete-char
bindkey "\e[4~" end-of-line
bindkey "\e[5~" beginning-of-history
bindkey "\e[6~" end-of-history
bindkey "\e[7~" beginning-of-line
bindkey "\e[8~" end-of-line
bindkey "\e[H" beginning-of-line
bindkey "\e[F" end-of-line
bindkey "\eOH" beginning-of-line
bindkey "\eOF" end-of-line
bindkey "\eOd" backward-word
bindkey "\eOc" forward-word
bindkey "\e[1;5D" backward-word
bindkey "\e[1;5C" forward-word
autoload up-line-or-beginning-search
autoload down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search
bindkey "\e[A" up-line-or-beginning-search
bindkey "\e[B" down-line-or-beginning-search
#autoload -U history-search-end
#zle -N history-beginning-search-backward-end history-search-end
#zle -N history-beginning-search-forward-end history-search-end
#bindkey "\e[A" history-beginning-search-backward-end
#bindkey "\e[B" history-beginning-search-forward-end
#bindkey "^[[A" history-search-backward
#bindkey "^[[B" history-search-forward
bindkey '^R' history-incremental-search-backward
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias ls='ls --color=auto'
alias :q='exit'
alias laur='yaourt -Qua | grep "^aur" | sed "s:a1234df::"'
alias lu='for line in $(yaourt -Qqua); do yaourtSs "^$line$"|grep -v "^ "; done | grep "\[installed.*\]" | sed "s: [\[(].*::g"'
alias gu="yaourt -Qm | grep '\-git' | sed 's:local/\(.*-git\) [0-9]\{8\}-.*:\1:g'"
alias lau="lu; gu"
alias yaourtS="yaourt -S"
alias yaourtR="yaourt -Rnssu"
alias yaourtU="yaourt -U"
alias yaourtQ="yaourt -Q"
alias yaourtG="yaourt -G"
alias yaourtSs="yaourt -Ss"
alias yaourtSsa="yaourt -Ssa"
alias yaourtQs="yaourt -Qs"
alias yaourtQl="yaourt -Ql"
alias yaourtQo="yaourt -Qo"
alias yaourtQi="yaourt -Qi"
alias df="di -f SMbuvpT"
if [[ -n $SSH_TTY ]]; then
if which tmux &>/dev/null; then
if test -x ${TMUX}; then
tmux attach || tmux
fi
fi
fi
clear
Jump to Line
Something went wrong with that request. Please try again.