27 lines
632 B
Text
27 lines
632 B
Text
if [[ "$(uname -s)" == "Linux" ]]; then
|
|
# we're on linux
|
|
alias l-d="ls -lFad"
|
|
alias l="ls -lAhF"
|
|
alias ll="ls -lFa | TERM=vt100 less"
|
|
alias ls='ls --color=auto'
|
|
fi
|
|
|
|
# enables git management through dotfiles command
|
|
alias dotfiles='/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty'
|
|
|
|
alias n='nnn'
|
|
alias m='micro'
|
|
|
|
alias zshconf='m ~/.zshrc'
|
|
|
|
|
|
alias historysummary="history | awk '{a[\$2]++} END{for(i in a){printf \"%5d\t%s\n\",a[i],i}}' | sort -rn | head"
|
|
alias myip="curl -s icanhazip.com"
|
|
|
|
alias reattach="screen -r"
|
|
alias zh="fc -l -d -D"
|
|
|
|
alias ..="cd .."
|
|
alias ...="cd ../.."
|
|
alias ~="cd $HOME"
|
|
|