Talk:Fish: Difference between revisions
| Line 3: | Line 3: | ||
This script seems to contain many unneeded parts, such as {{ic|$BASH_EXECUTION_STRING}} and {{ic|login_shell}} checks. | This script seems to contain many unneeded parts, such as {{ic|$BASH_EXECUTION_STRING}} and {{ic|login_shell}} checks. | ||
It also misses at least one needed safeguard: check if{{ic|$SHLVL}} is greater than 1 or 2. Without it, nested <code>nix-shell</code> will | It also misses at least one needed safeguard: check if{{ic|$SHLVL}} is greater than 1 or 2. Without it, nested <code>nix-shell</code> will not work correctly (since parent != fish check will not apply). | ||
Seems like this script was initially adapted from ArchWiki Fish page. Right now i am working to clean up the corresponding section on ArchWiki. | Seems like this script was initially adapted from ArchWiki Fish page. Right now i am working to clean up the corresponding section on ArchWiki. | ||