Add vim
This commit is contained in:
parent
c58bb04a54
commit
42e47dbc7b
8 changed files with 603 additions and 0 deletions
30
config/zshrc
30
config/zshrc
|
@ -295,3 +295,33 @@ source $ZSH/oh-my-zsh.sh
|
|||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
|
||||
HISTFILE="$HOME/.zshistory"
|
||||
HISTSIZE=20000
|
||||
SAVEHIST=10000
|
||||
alias hist='history -D -E'
|
||||
setopt hist_ignore_dups
|
||||
#export TERM=rxvt-unicode-256color
|
||||
unsetopt rm_star_silent
|
||||
setopt auto_pushd
|
||||
alias ls='ls --classify --tabsize=0 --literal --color=auto --show-control-chars --human-readable'
|
||||
alias l='ls'
|
||||
alias ll='ls -ahl'
|
||||
alias fr='setxkbmap fr'
|
||||
alias us='setxkbmap us'
|
||||
|
||||
|
||||
|
||||
status() {
|
||||
print ""
|
||||
print "Date..: "$(date "+%Y-%m-%d %H:%M:%S")""
|
||||
print "Shell.: Zsh $ZSH_VERSION (PID = $$, $SHLVL nests)"
|
||||
print "Term..: $TTY ($TERM), $BAUD bauds, $COLUMNS x $LINES cars"
|
||||
print "Login.: $LOGNAME (UID = $EUID) on $HOST"
|
||||
print "System: $(cat /etc/[A-Za-z]*[_-][rv]e[lr]*)"
|
||||
print "Uptime:$(uptime)"
|
||||
print ""
|
||||
}
|
||||
|
||||
alias meteo='curl -4 http://wttr.in/Roubaix'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue