bash: Better 'ggp' alias Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Sat, 22 Feb 2020 15:06:05 +0530
1 files changed,
11 insertions(+),
7 deletions(-)
jump to
M
bash/.bashrc.d/90-aliases.bash
→
bash/.bashrc.d/90-aliases.bash
@@ -9,31 +9,35 @@ alias gl="git log --oneline --decorate --graph"
alias ls="ls --color" alias vim="vim" -function socks { +socks() { pkill ssh ssh -D 8008 emerald -fN } -function up { +up() { ~/bin/icyup.sh "$1" } -function nvmon { +nvmon() { source ~/.nvm/nvm.sh } -function envac { +envac() { source .env/bin/activate } -function vpn { +vpn() { ~/bin/vpnon.sh } -function dt() { +dt() { time.sh -n } -function bat() { +bat() { bat.sh -n } + +ggp() { + git push "$(git remote show)" "$(git branch --show-current)" +}