summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
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