dotfiles/.zsh_aliases

28 lines
727 B
Text
Raw Normal View History

2019-02-04 02:32:45 +00:00
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
2019-02-04 02:32:45 +00:00
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 .." # overwritten by enhancd config in .zshrc.d/
2019-02-04 02:32:45 +00:00
alias ...="cd ../.."
alias ~="cd $HOME"