From 3925c1d059b0ddecf594f550c8d4e1d3410ca12e Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Sat, 20 Mar 2021 14:15:59 +0000 Subject: profile things --- .bash_profile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 23c06ed..e82048f 100644 --- a/.bash_profile +++ b/.bash_profile @@ -8,7 +8,7 @@ EDITOR=vi export EDITOR source ~/perl5/perlbrew/etc/bashrc -export PATH="${HOME}/bin:${PATH}" +export PATH="${HOME}/bin:${HOME}/.raku/bin:${PATH}" export GPG_TTY="$(tty)" eval "$(keychain --eval --inherit any-once --agents ssh id_rsa id_ed25519)" @@ -45,7 +45,9 @@ function pm() { } function killmerged() { - for b in $(git branch --merged HEAD --no-contains HEAD|grep -vE 'stage|master|svn|develop'); do + for b in $(git branch --merged HEAD --no-contains HEAD|grep -vE 'stage|master|svn|develop|uat'); do + b="${b##+( )}" + b="${b%%+( )}" git branch -d $b && git push origin :$b done } -- cgit v1.2.3