On 10/30/07, Johan Sørensen <[EMAIL PROTECTED]> wrote: > Hi, > > Made a clean install of osx 10.5 the other day, but I'm having some > color annoyances in my favorite shell. I got my terminal.app set to > white text on a black-ish background, but whenever I type something > that's an "nonexiting command" (eg typing "asdf" at the prompt) gives > me black as the textcolor, despite fish_color_normal being white. > Here's my fish_color_* (from the variable completion): > > …_color_command (Variable: green) … > _color_normal (Variable: white) > …_color_comment (Variable: red) … > _color_operator (Variable: cyan) > …_color_cwd (Variable: green) … > _color_quote (Variable: brown) > …_color_error (Variable: 'black' '--background=red' '--bold') … > _color_redirection (Variable: normal) > …_color_escape (Variable: cyan) … > _color_search_match (Variable: blue) > …_color_history_current (Variable: cyan) … > _color_valid_path (Variable: --underline) > …_color_match (Variable: yellow) > > Am I missing some setting?
Hi Johan! Seems you're looking at the wrong variable. fish_color_normal is the baseline color. It is used as a fallback and for things that don't have their own color. The variable that normally determines the color of 'error' output such as a non-existing command is fish_color_error. >From your output it seems that fish_color_error is set to be black text on a red background. I just tested, and it seems that fish for some reason ignores the specified background color. I'll look into this issue, but you can at least get error output to be something other than black using e.g. set fish_color_error red Hope this helps Axel > > Cheers, > JS > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
