Move aliases to .zshrc.d/ subdir
This commit is contained in:
parent
e1a780997a
commit
9d8b8ec1d5
2 changed files with 1 additions and 4 deletions
1
.zshrc
1
.zshrc
|
@ -241,7 +241,6 @@ COMPLETION_WAITING_DOTS="true"
|
||||||
# Example aliases
|
# Example aliases
|
||||||
# alias zshconfig="mate ~/.zshrc"
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
source $HOME/.zsh_aliases
|
|
||||||
|
|
||||||
#PS1='[\u@\h \W]\$ '
|
#PS1='[\u@\h \W]\$ '
|
||||||
# >>> Added by cnchi installer
|
# >>> Added by cnchi installer
|
||||||
|
|
|
@ -14,14 +14,12 @@ alias m='micro'
|
||||||
|
|
||||||
alias zshconf='m ~/.zshrc'
|
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 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 myip="curl -s icanhazip.com"
|
||||||
|
|
||||||
alias reattach="screen -r"
|
|
||||||
alias zh="fc -l -d -D"
|
alias zh="fc -l -d -D"
|
||||||
|
|
||||||
# alias ..="cd .." # overwritten by enhancd config in .zshrc.d/
|
# alias ..="cd .." # overwritten by enhancd config in .zshrc.d/
|
||||||
alias ...="cd ../.."
|
alias ...="cd ../.."
|
||||||
alias ~="cd $HOME"
|
alias ~="cd ~"
|
||||||
|
|
Loading…
Reference in a new issue