You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw you linked an bug report on Arch Wiki fish shell with an issues between the bashrc fish launch script and gnome shell.
I debugged it a little bit and came up with the fix:
if [[ $(ps --no-header --pid=$PPID --format=cmd) != "fish" && -z ${BASH_EXECUTION_STRING} ]]
then
exec fish
fi
For some reason gnome shell launches the bash with -c commands and manually sources bashrc. BASH_EXECUTION_STRING will indicate that bash was launched with -c arguments.
The text was updated successfully, but these errors were encountered:
I saw you linked an bug report on Arch Wiki fish shell with an issues between the bashrc fish launch script and gnome shell.
I debugged it a little bit and came up with the fix:
For some reason gnome shell launches the bash with
-c
commands and manually sources bashrc.BASH_EXECUTION_STRING
will indicate that bash was launched with-c
arguments.The text was updated successfully, but these errors were encountered: