diff options
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile index 7cd8fe4..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)" @@ -44,6 +44,14 @@ function pm() { emacsclient -c -n "$fn" } +function killmerged() { + 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 +} + export PERLDOC='-MPod::Text::Color::Delight' fortune |