-
-
Save cole-h/ef184aad462a64920bf4205521a5112e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -l nix_shell_info ( | |
if string match -q -- "lorri*" $name | |
printf "lorri " | |
else if test -n "$IN_NIX_SHELL" | |
printf "nix-shell " | |
end | |
echo "$" | |
) | |
set --global pure_symbol_prompt "$nix_shell_info" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment