Re:Fish: Finally, a command line shell for the 90s
by nickburlett on Wednesday June 06, 2012 @02:43PM
(#4075422)
An old trick for convincing (some) shells that your script is an sh-compatibile shell is to use a colon on the first line. Support for this trick was added to fish back in 2007: https://gitorious.org/~ridiculousfish/fish-shell/fishfish/bl...
[ Parent
| on HN ]
Re:Fish: Finally, a command line shell for the 90s
by akkartik on Wednesday June 06, 2012 @10:41PM
(#4077342)
Thanks for the pointer. I can't say how much I wish more people would include pointers to code fragments or specific commits on a site called hacker news.
Tangential question: is gitorious's syntax highlighting usually this awful? The first thing I need from syntax highlighting is distinguishing comments from code.
Re:Fish: Finally, a command line shell for the 90s
by cheatercheater on Sunday June 10, 2012 @08:03AM
(#4090828)
I'm not sure how to use it. Can you give an example of where it works, and what changes if this is not done?