17.4.10

my .zshrc


~ cat .zshrc
HISTFILE=~/.histfile
HISTSIZE=200
SAVEHIST=1000
#bindkey -e
bindkey -v
typeset -g -A key
bindkey '\e[1~' beginning-of-line
bindkey '\e[4~' end-of-line
bindkey '^?' backward-delete-char
bindkey '^[[1~' beginning-of-line
bindkey '^[[5~' up-line-or-history
bindkey '^[[3~' delete-char
bindkey '^[[4~' end-of-line
bindkey '^[[6~' down-line-or-history
bindkey '^[[A' up-line-or-search
bindkey '^[[D' backward-char
bindkey '^[[B' down-line-or-search
bindkey '^[[C' forward-char
# for rxvt
bindkey "\e[8~" end-of-line
bindkey "\e[7~" beginning-of-line

zstyle :compinstall filename '/home/milky/.zshrc'

autoload -Uz compinit
compinit
# End of lines added by compinstall

PROMPT=$'%~ '

eval $(dircolors -b)

alias 'mssh=ssh microbo -l root'
alias 'ls=/bin/ls --color=always -1 -S'
alias 'ne=~/bin/ne.sh'
alias 'emacs=/usr/bin/emacs -nw'
alias 'grep=/bin/grep --color=auto'
alias 'halt=/usr/bin/sudo /sbin/halt'
alias 'reboot=/usr/bin/sudo /sbin/reboot'
alias 'pacman=/usr/bin/sudo /usr/bin/pacman'
alias 'clyde=/usr/bin/sudo /usr/bin/clyde'
alias 'cat=/usr/bin/dog'
alias 'cp=/bin/cp -v'
alias 'mv=/bin/mv -v'
alias 'rm=/bin/rm -v'

fortune futurama calvin montypython
echo `whoami`@`hostname` - `date +'%A, %d %b %Y %k:%M.%S'`
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
    startx
fi
~

Nessun commento:

Posta un commento

Hello, new comment!

Warning

My first language isn't english. Feel free to gently correct my words. :)
Powered By Blogger