Talk:Fish
Appearance
Latest comment: 26 July by Awlexus in topic seem like something is wrong in Fish#Modify_.bashrc_to_drop_into_fish
Also check $TERM in .bashrc before dropping into fish?
If it's `dumb`, we shouldn't process then.
Command to add to $PATH
is redundant
The command to add some directories to $PATH
depicts default behaviour when submitting a flag that is already assumed. The -p
flag could be completely skipped and the command would still do just fine [1]. Adam6 (talk) 14:08, 5 December 2024 (UTC)
seem like something is wrong in Fish#Modify_.bashrc_to_drop_into_fish
in the line
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} && ${SHLVL} == 1 ]]
the test ${SHLVL} == 1
should be something like ${SHLVL} == [1,2]
because when loggin in from tty, $SHLVL
is 1, but when inside a gui session launched from terminal emulator, $SHLVL
is 2 and exec fish
is not ran Pigeon (talk) 20:37, 24 May 2025 (UTC)
- I'd like to add to that. I'm using KDE and tried to use it this tip for starting fish in terminals. This works fine for the current session, but on the next login, I got a black screen. After lots of trial and error found this snippet to be the culprit. A possible alternative for Alacritty users is to add fish as your terminal shell in alacritty.toml
[terminal]
shell = "fish"
Awlexus (talk) 00:37, 26 July 2025 (UTC)