Created
January 1, 2019 18:12
-
-
Save richardgill/b23d3461f3e54a80d0f299e3f9ec18e9 to your computer and use it in GitHub Desktop.
Rich's Bash Profile Tips
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
export PS1="\[\e[30;1m\w\[\e[0m\]\$(git-radar --bash --fetch)\n$ " | |
alias githubdiff='open "https://github.$(git config remote.origin.url | cut -f2 -d.)/compare/$(git rev-parse --abbrev-ref HEAD)?expand=1"' | |
alias bitbucketdiff='open "$(git config remote.origin.url)/pull-requests/new#diff"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment