Hi,

Initially I liked the contents of the fish_greeting variables, but after
a while I wanted it to clear ( empty ).  

So I added 
set -e fish_greeting 
to $HOME/.config/fish/config.fish  

Thinking that this would clear the fish_greeting variable for me.  But
it doesn't.  When I like it, I still get the default contents in
fish_greeting.

So I removed the above set command and added
set fish_greeting

and now I get this:

switch: Expected exactly one argument, got 0
/net/home/rcc/skk/local/stow/fish/share/fish/functions/__fish_config_interactive.fish
 (line 86):        switch $fish_greeting

^
in function “__fish_config_interactive”,
        called on line 104 of file
“/net/home/rcc/skk/local/stow/fish/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


I'm not sure how to fix this problem.  My current uber-hack of a
solution is to simply the echo command in
__fish_config_interactive.fish ( around line 93 ).

Has anyone else encountered this problem?

Thanks,


-- 
===================================================
| Steven Knight                   [EMAIL PROTECTED]  |
| UNH Research Computing Center   603-862-3042    |
===================================================



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to