Hello Maxim. Thank you for your thoughtful feedback and testing.

1. Regarding python3 as the default - OS X is missing the python2 symlink, so 
'/usr/bin/env python2' will fail there. Hopefully we can find a way to portably 
invoke Python v2.  I filed https://github.com/ridiculousfish/fishfish/issues/14

2. Yes, "implicit cd" is gone. I found it to be too easy to accidentally invoke.

3. The 'which -s' flag looks to be a BSD-ism (I'm not sure why it didn't show 
up on my Linux testing). I already had an issue tracking removing the 
invocation of 'which' - it's at 
https://github.com/ridiculousfish/fishfish/issues/12.

4. I think fish is doing the right thing with "false ; and sdlkfjsdklf". That 
semicolon means that the 'and' is the beginning of a new statement, and fish 
agrees with other shells (including fish trunk) that this is an error. Remove 
the semicolon ("false and sdlkfjdsklf") and it does not error.

5. What you're seeing is the "internalized scripts" behavior, where at build 
time, fish compiles all the default functions into itself (as C strings). This 
reduces the number of files touched at launch. I did this under the belief that 
these functions generally depended on each other, and ought not to be modified. 
However, since this is causing problems, we should restrict the functions 
internalized in this way, or eliminate the optimization altogether.  I filed 
https://github.com/ridiculousfish/fishfish/issues/15

 Can you share which functions from /usr/local/share/fish/ you override? 

(The fish_prompt case is particularly bad - I didn't realize the effect that 
would have. I put my prompt in config.fish)

6. There is a color "fish_color_autosuggestion" which defaults to #555 (gray), 
but if your term doesn't support term256, you won't see it. Maybe we could pick 
a color for classic 16 color terms. What term are you using?

On May 30, 2012, at 5:16 AM, Maxim Gonchar wrote:

> Hi,
> 
> So I'm trying new fish and have some questions and notes. It became really 
> fast and amazing.
> 
> 1) On archlinux default python is python3. So internalize script and 
> webconfig scripts do not work out of the box, until i replace /usr/bin/python 
> by /usr/bin/python2.
> 
> 2) I see that I can not now execute directories. I.e. I can not use '..' as 
> command to go to the upper directory.
> Of course I can catch the event to handle it. But it doesn't colorize correct 
> paths as green now. Is this feature completely deleted?
> 
> 3) __fish_config_interactive.fish contains a command 'which -s'
> I do not know what -s should mean, but my 'which' doesn't support this option 
> (I've tried on arch, debian and ubuntu).
> The other thing is that which outputs to the stderr if command not found. So 
> it's better to use ^/dev/null redirection as well.
> 
> The problem is that 'which -s command-not-found' is also hardcoded in 
> builtin_scripts.cpp, so it's not easy to understand why it keep claiming, 
> even after modifying the __fish_config_interactive.fish
> 
> 4) It seems that commands are interpreted even if they are not to be executed:
> 'false; and dfgsfhsfhethr' will cause an error.
> 
> That's bad, because it shows warnings if I try to test if command is valid:
> type sdfsdfsdf >/dev/null; and sdfsdfsdf
> 
> 5) It ignores my prompt. It seems that it ignores my functions, if they 
> override functions from /usr/local/share/fish.
> It ignores them, even if I delete /usr/local/share/fish from 
> $fish_function_path.
> I also can not edit fish functions from 'share' with funced.
> 
> 6) I like the idea of autosuggestions, I feel very comfortable and natural 
> with them. I would suggest to add the possibility to set a color to the 
> auto-suggested part (blinking?).
> Now it's the same as the other part of the command and if you loose your 
> attention for a while, you think that you get the command already and you get 
> an error when you try to execute it.
> 
> best regards,
> Maxim
> 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to