diff options
author | Camil Staps | 2016-02-09 14:16:10 +0100 |
---|---|---|
committer | Camil Staps | 2016-11-30 19:11:06 +0100 |
commit | 350a07b0a8525645671a029621cc873b2a8d1957 (patch) | |
tree | f332a624e3182aea22e6a42c27346b3eba4203c5 /zsh/functions/gf | |
parent | zsh (diff) |
Fixed oh-my-zsh
Diffstat (limited to 'zsh/functions/gf')
-rw-r--r-- | zsh/functions/gf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/functions/gf b/zsh/functions/gf new file mode 100644 index 0000000..0de3e89 --- /dev/null +++ b/zsh/functions/gf @@ -0,0 +1,4 @@ +gf() { + local branch=$1 + git checkout -b $branch origin/$branch +}
\ No newline at end of file |