summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile6
1 files changed, 4 insertions, 2 deletions
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
}