diff options
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/.bash_profile b/.bash_profile index 6451c08..7ba48f2 100644 --- a/.bash_profile +++ b/.bash_profile @@ -8,17 +8,17 @@ 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)" +eval "$(keychain --eval --inherit any-once --agents ssh id_rsa)" function e() { - emacsclient "$@" + emacsclient -n "$@" } function se() { - emacsclient "${@/#//sudo::}" + emacsclient -n "${@/#//sudo::}" } function pd() { @@ -44,6 +44,12 @@ function pm() { emacsclient -c -n "$fn" } +function killmerged() { + for b in $(git branch --merged HEAD --no-contains HEAD|grep -vE 'stage|master|svn|develop'); do + git branch -d $b && git push origin :$b + done +} + export PERLDOC='-MPod::Text::Color::Delight' fortune |