add old zshconfig
This commit is contained in:
parent
ffda4c1ff4
commit
1ef3a363de
8 changed files with 267 additions and 0 deletions
36
zsh/aliases.zsh
Normal file
36
zsh/aliases.zsh
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# -------------------------------------------------------------------
|
||||
# directory movement
|
||||
# -------------------------------------------------------------------
|
||||
alias cd..='cd ..'
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# directory information
|
||||
# -------------------------------------------------------------------
|
||||
alias ll='ls -l'
|
||||
alias la='ls -la'
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# MAC only
|
||||
# -------------------------------------------------------------------
|
||||
if [[ $IS_MAC -eq 1 ]]; then
|
||||
alias ls='ls -G'
|
||||
alias refreshbrew='brew outdated | while read cask; do brew upgrade $cask; done'
|
||||
alias uni='~/Dropbox/University/Semester\ 3'
|
||||
fi
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# LINUX only
|
||||
# -------------------------------------------------------------------
|
||||
if [[ $IS_LINUX -eq 1 ]]; then
|
||||
alias ls='ls --color=auto'
|
||||
alias valgrind='valgrind --leak-check=full --show-reachable=yes'
|
||||
alias sp1='cd /proj/i4sp1/ty28wuqu/trunk'
|
||||
alias sp2='cd /proj/i4sp2/ty28wuqu/trunk'
|
||||
alias submit1='/proj/i4sp1/bin/submit'
|
||||
alias submit2='/proj/i4sp2/bin/submit'
|
||||
fi
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# misc aliases
|
||||
# -------------------------------------------------------------------
|
||||
alias irc='ssh -t irc tmux attach'
|
||||
Loading…
Add table
Add a link
Reference in a new issue