diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-05-20 12:58:03 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-05-20 12:58:03 -0700 |
commit | 673faf715282ebc86a9b4f13bb450015136f9c3f (patch) | |
tree | 6e2dae7b100bc21c653c39359848885d42e923aa /share/functions/help.fish | |
parent | 18ace555b05042720c0cc037eb4cf8588285f596 (diff) |
Fixed builtin_test to properly handle "just a strings" in combining expressions, like 'test foo -a bar'. This was causing error messages in the help function.
Fixed help function to know about OS X and use the open command to open web pages.
Diffstat (limited to 'share/functions/help.fish')
-rw-r--r-- | share/functions/help.fish | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/share/functions/help.fish b/share/functions/help.fish index 9531c103..5a73530b 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -62,6 +62,12 @@ function help --description "Show help for the fish shell" end end end + + # On OS X, just use open + if test (uname) = Darwin + set fish_browser (which open) + end + end if test -z $fish_browser |