set -l nix_shell_info ( if test -n "$IN_NIX_SHELL" echo -n " " end ) echo -n -s "$nix_shell_info ~>"