25 lines
695 B
Text
25 lines
695 B
Text
if [[ "$(uname -s)" == "Linux" ]]; then
|
|
# we're on linux
|
|
alias l-d="ls -lFad"
|
|
# alias l="ls -lAhF" # Overwritten by using k in .zsh.d/004-k-alias
|
|
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 zh="fc -l -d -D"
|
|
|
|
# alias ..="cd .." # overwritten by enhancd config in .zshrc.d/
|
|
alias ...="cd ../.."
|
|
alias ~="cd ~"
|
|
|