Added hostname to prompt

This commit is contained in:
ari committed 2024-07-19 02:49:51 -04:00
1 parent 0d9d0014f8
commit 96f1610972
1 file changed
+4 -2
+4 -2
View File
@@ -78,8 +78,10 @@ in
initExtra = (if enableDevelopmentKit then '' initExtra = (if enableDevelopmentKit then ''
export MAMBA_ROOT_PREFIX="$HOME/.local/micromamba" export MAMBA_ROOT_PREFIX="$HOME/.local/micromamba"
source <(micromamba shell hook --root-prefix=$MAMBA_ROOT_PREFIX) source <(micromamba shell hook --root-prefix=$MAMBA_ROOT_PREFIX)
'' else export PROMPT='%(!.%{%F{yellow}%}.)$USER@%{$fg[white]%}%M %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
""); '' else ''
export PROMPT='%(!.%{%F{yellow}%}.)$USER@%{$fg[white]%}%M %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
'');
}; };
zsh.oh-my-zsh = { zsh.oh-my-zsh = {
enable = true; enable = true;