In 1.23, when I clear fish_greeting with "set fish_greeting", I get an
error every time I start fish. However, if I use "set fish_greeting ''
", it works fine. This happens on two machines; one is a PowerPC G4
running Mac OS X 10.4, the other is a Core 2 Duo running 10.5. Here's
the error message I get:
[EMAIL PROTECTED] > exec fish
switch: Expected exactly one argument, got 0
/usr/local/share/fish/functions/__fish_config_interactive.fish (line
150): switch $fish_greeting
^
in function “__fish_config_interactive”,
called on line 104 of file “/usr/local/share/fish/
config.fish”,
in function “__fish_on_interactive”,
called on standard input,
in event handler: handler for generic event 'fish_prompt'
switch ‐ conditionally execute a block of commands
Synopsis
switch VALUE; [case [WILDCARD...]; [COMMANDS...]; ...] end
switch: Type 'help switch' for related documentation
[EMAIL PROTECTED] >
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users