3 ms·
I recently tried setting fish as my default default and I encountered some trouble, for example my $PATH was incomplete (there was only /bin, /usr/bin and /usr/
by bru 13y ago
I recently tried setting fish as my default default and I encountered some trouble, for example my $PATH was incomplete (there was only /bin, /usr/bin and /usr/local/bin left in it if I recall correctly).
I reverted it back to bash and I get fish as my shell by spawning "urxvt -e fish" instead of "urxvt" (in my window manager configuration). This works well.
- omaranto 13y agoWhat else did you want to have in your $PATH?
- bru 13y ago/sbin and /usr/sbin, as well as some folders in /opt (e.g. for Android development).
- omaranto 13y agoOh, that explains why I need to run sudo with the -i option sometimes while using fish as my default shell! I'm going to try setting my shell to bash, and configuring my window manager to run fish in terminals. Who knows what other variables I'm missing out on...
- gecko 13y agoYou're aware you can configure your PATH trivially from fish, right? The preferred way to do that would be something like if status --is-interactive set PATH ~/.local/bin /opt/local/bin $PATH end in your ~/.config/fish/config.fish file. Your other shells have the paths you want either because you configured them that way at some point, or because their global configs (e.g. /etc/bashrc) have broader paths. There's nothing magic going on here.