all repos — dotfiles @ f158d1fa05f036a187d999c2555d19b322d5ce21

my *nix dotfiles

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
commit

f158d1fa05f036a187d999c2555d19b322d5ce21

parent

658e632608b2af24bbd3140fbb21a412230766ba

1 files changed, 11 insertions(+), 7 deletions(-)

jump to
M bash/.bashrc.d/90-aliases.bashbash/.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)" +}