commit cb0405971d21c36fb6c1ec97fa4042c44645a318
parent a3c3321747747d6f210c0e593128466182b29b60
Author: oscarbenedito <oscar@oscarbenedito.com>
Date:   Sun, 14 Jun 2020 22:55:05 +0200

Git aliases moved to git config

Diffstat:
M.config/git/config | 13+++++++++++++
M.config/zsh/aliases | 12+-----------
2 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/.config/git/config b/.config/git/config @@ -2,5 +2,18 @@ email = oscar@oscarbenedito.com name = oscarbenedito signingkey = 827E5A8E3AE8A499 +[alias] + a = add + c = commit + cm = commit -m + d = diff + dc = diff --cached + l = log + pl = pull + ps = push + psf = push --force + s = status + sh = stash + shp = stash pop [commit] gpgsign = true diff --git a/.config/zsh/aliases b/.config/zsh/aliases @@ -18,6 +18,7 @@ alias tmux="TERM=screen-256color tmux" # Shortcuts alias v="nvim" alias vim="nvim" +alias g="git" alias ..="cd .." alias ...="cd ../.." alias vw="cd $HOME/Documents/wiki && vim index.md" @@ -29,17 +30,6 @@ alias cv="GIT_DIR=$HOME/.local/share/dotfiles GIT_WORK_TREE=$HOME nvim -c Git -c alias -g L="|less" alias -g NULL="> /dev/null 2>&1" -# Git -alias g="git" -alias gs="git status" -alias gc="git commit -m" -alias gd="git diff" -alias ga="git add" -alias gpl="git pull" -alias gps="git push" -alias gsh="git stash" -alias gl="git log" - # Updates alias upgrade="sudo apt-get update && sudo apt-get -y upgrade" # alias upgrade="sudo pacman -Syyu --noconfirm"