Skip to content

Instantly share code, notes, and snippets.

@danielbayley
Last active July 6, 2019 04:27
Show Gist options
  • Save danielbayley/d769d1ff1e77667bd60e792f2d88fc10 to your computer and use it in GitHub Desktop.
Save danielbayley/d769d1ff1e77667bd60e792f2d88fc10 to your computer and use it in GitHub Desktop.
A CLI for GitKraken
#! /bin/zsh -f
argv=${1:-$PWD}/
if ([ ! -d $1.git ]) return
pkill -9 GitKraken
open -a $_ --args --path $1
@souhaiebtar
Copy link

would you please explain to me, how to add gitkraken.zsh and use it, i'm using prezto

@danielbayley
Copy link
Author

@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