Skip to content

Instantly share code, notes, and snippets.

@toantran-ea
Created April 12, 2017 17:11
Show Gist options
  • Save toantran-ea/306a08c53ae36b98e3318ffd46fdf369 to your computer and use it in GitHub Desktop.
Save toantran-ea/306a08c53ae36b98e3318ffd46fdf369 to your computer and use it in GitHub Desktop.
Config gitkraken on Linux to have better shortcut in commandline

Create new file in /usr/local/bin called gitx_shell.sh with following content (remove quotes)

#!/bin/sh

nohup /usr/share/gitkraken/gitkraken & 

Assign execution mode for file

sudo chmod +x gitx_shell.sh

Create a new better symlink

sudo ls -s gitx_shell.sh gitx

Check the symlink after created

readlink -f gitx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment