zsh: Agregar aliases para zsh

This commit is contained in:
Cat /dev/Nulo 2022-03-16 23:11:39 -03:00
parent 1215ea786a
commit e0a5146e53

12
.zshrc
View file

@ -32,13 +32,23 @@ PS1='%S%F{5} %3~ ${vcs_info_msg_0_}%f%#%s '
alias ls='ls --color=always' alias ls='ls --color=always'
alias grep='grep --color=always' alias grep='grep --color=always'
alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'
alias ssh='TERM=xterm-256color ssh' alias ssh='TERM=xterm-256color ssh'
alias e="$EDITOR" alias e="$EDITOR"
alias r="trash -r" alias r="trash -r"
alias a='nohup nemo "$(pwd)" >/dev/null &' alias a='nohup nemo "$(pwd)" >/dev/null &'
alias gcp='git commit -p'
alias gc='git commit'
alias ga='git add'
alias gt='git tag'
alias gp='git push'
alias gpo='git push origin' # Para tags: git push origin 1.0.2 / gpo 1.0.2
alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'
alias gdcp='gitdf commit -p'
alias gdp='gitdf push'
source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/key-bindings.zsh
source ~/.config/zsh/bg_notify.zsh source ~/.config/zsh/bg_notify.zsh
! "$REMOTE" && source ~/.config/zsh/osc_7.zsh ! "$REMOTE" && source ~/.config/zsh/osc_7.zsh