diff --git a/bash/utility b/bash/utility index c4fc800..525307b 100644 --- a/bash/utility +++ b/bash/utility @@ -6,3 +6,6 @@ NOTE_EXTENSION='.txt'; alias mynotes='cd $NOTE_PATH'; function note() { vim $NOTE_PATH/$1$NOTE_EXTENSION; } function notes() { NOTE="$NOTE_PATH/$1$NOTE_EXTENSION"; [ $1 ] && [ -f $NOTE ] && vim $NOTE || vim $NOTE_PATH; } + +# --- GIT ----------------------------------------------------- +alias gitbranchcleanup='git branch -d $(git branch | sed -E "/develop|master|\*/d")'