diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 378071a..5137776 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -149,3 +149,5 @@ alias rs='rspec spec' # Sprintly - https://github.com/nextbigsoundinc/Sprintly-GitHub alias sp='sprintly' +# spb = sprintly branch - create a branch automatically based on the bug you're working on +alias spb="git checkout -b \`sp | tail -2 | grep '#' | sed 's/^ //' | sed 's/[^A-Za-z0-9 ]//g' | sed 's/ /-/g' | cut -d"-" -f1,2,3,4,5\`"