Last active
July 6, 2019 04:27
-
-
Save danielbayley/d769d1ff1e77667bd60e792f2d88fc10 to your computer and use it in GitHub Desktop.
A CLI for GitKraken
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/zsh -f | |
argv=${1:-$PWD}/ | |
if ([ ! -d $1.git ]) return | |
pkill -9 GitKraken | |
open -a $_ --args --path $1 |
@souhaiebtar Sorry I have no idea how prezto works… I use https://github.com/zplug/zplug which allows you to include gists as cli commands like this for example… you might want to check that out instead!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
would you please explain to me, how to add gitkraken.zsh and use it, i'm using prezto