Skip to content

Commit

Permalink
Show nix shell info
Browse files Browse the repository at this point in the history
  • Loading branch information
jwieringa committed Dec 14, 2022
1 parent 763d881 commit 0306920
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions users/jason/home-manager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,18 @@ end
if not __ssh_agent_is_started
__ssh_agent_start
end
#-------------------------------------------------------------------------------
# nixos
#-------------------------------------------------------------------------------
set -l nix_shell_info (
if test -n "$IN_NIX_SHELL"
echo -n "<nix-shell> "
end
)
'';

};

programs.bash = {
Expand Down

0 comments on commit 0306920

Please sign in to comment.