summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2021-03-19 18:04:26 +0000
committerdakkar <dakkar@thenautilus.net>2021-03-19 18:04:26 +0000
commit20fa2b6be224d4d3b23d629d2634c0704ff21957 (patch)
treec9627f6325cb564973264395e53b6ab24090b131 /.bash_profile
parentemacs tweaks (diff)
parentsome git stuff (diff)
downloaddotfiles-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_profile10
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