Added hostname to prompt
This commit is contained in:
1 parent
0d9d0014f8
commit
96f1610972
1 file changed
+4
-2
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user