diff --git a/hm/prompt/default.nix b/hm/prompt/default.nix index 9ed72ef..8c81ffd 100644 --- a/hm/prompt/default.nix +++ b/hm/prompt/default.nix @@ -3,10 +3,11 @@ config = lib.mkIf config.programs.less.enable { programs.powerline-go = { enable = true; - modules = [ "user" "host" "venv" "cwd" "perms" "git" ]; + modules = [ "user" "host" "venv" "cwd" "perms" "nix-shell" "git" ]; modulesRight = [ "jobs" "exit" "duration" "load" ]; settings = { colorize-hostname = true; + hostname-only-if-ssh = true; max-width = 25; cwd-max-dir-size = 10; duration = "$( test -n \"$__TIMER\" && echo $(( $EPOCHREALTIME - $\{__TIMER:-EPOCHREALTIME})) || echo 0 )"; @@ -19,3 +20,4 @@ }; }; } +# TODO Replace load with a frobar indicator