diff options
author | dakkar <dakkar@thenautilus.net> | 2021-03-19 18:04:26 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2021-03-19 18:04:26 +0000 |
commit | 20fa2b6be224d4d3b23d629d2634c0704ff21957 (patch) | |
tree | c9627f6325cb564973264395e53b6ab24090b131 /.bash_profile | |
parent | emacs tweaks (diff) | |
parent | some git stuff (diff) | |
download | dotfiles-20fa2b6be224d4d3b23d629d2634c0704ff21957.tar.gz dotfiles-20fa2b6be224d4d3b23d629d2634c0704ff21957.tar.bz2 dotfiles-20fa2b6be224d4d3b23d629d2634c0704ff21957.zip |
Merge remote-tracking branch 'origin/master' into nautilus
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.bash_profile b/.bash_profile index c0a4f1b..a1cb3d5 100644 --- a/.bash_profile +++ b/.bash_profile @@ -14,11 +14,11 @@ export GPG_TTY="$(tty)" 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 |