diff options
author | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2021-03-20 14:15:59 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2021-03-20 14:15:59 +0000 |
commit | 3925c1d059b0ddecf594f550c8d4e1d3410ca12e (patch) | |
tree | 10f8f1d60827758d87157380ce656cbf5d83cafd | |
parent | use xscreensaver-dbus (diff) | |
download | dotfiles-3925c1d059b0ddecf594f550c8d4e1d3410ca12e.tar.gz dotfiles-3925c1d059b0ddecf594f550c8d4e1d3410ca12e.tar.bz2 dotfiles-3925c1d059b0ddecf594f550c8d4e1d3410ca12e.zip |
profile things
-rw-r--r-- | .bash_profile | 6 |
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 } |