Joined July 2013
·
Achievements
29 Karma
0 Total ProTip Views
Komodo Dragon
Have at least one original repo where Java is the dominant language
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Thank you for posting this, really useful!
I had to change some thing to make it work for me, though...
1) In function rvmprompt I had to change the "if [ (which rvm) ]" to " if type -t rvm >/dev/null" . Since in my system rvm is not an executable in the path but a function (following the instructions at http://rvm.io/integration/fish) so "type" will set the exit code to 0 if the "rvm" exists either as keyword, function, builtin, or file.
2) In function fishprompt I had to use "if test -n (gitbranchname)" and "if test -n (unpushed)" to make it work in my case
But again thanks for posting this is saved my hours!