From c87c5b5e77e9ec2609f674961b499527fe132479 Mon Sep 17 00:00:00 2001 From: derped Date: Sun, 16 Apr 2023 15:39:31 +0200 Subject: [PATCH] Fix shell prompt for Ophanim. --- machines/Ophanim/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/Ophanim/configuration.nix b/machines/Ophanim/configuration.nix index 20f0541..3bb954d 100644 --- a/machines/Ophanim/configuration.nix +++ b/machines/Ophanim/configuration.nix @@ -13,7 +13,7 @@ # userlist = []; # }; services.haveged.enable = true; - programs.zsh.promptInit = "PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[cyan]%}%n@)%m %{$fg_bold[magenta]%}%(!.%1~.%~) $(git_prompt_info)%_$(prompt_char)%{$reset_color%} '"; + programs.zsh.promptInit = ''PROMPT="%(!.%B%F{magenta}.%B%F{cyan}%n@)%m %F{blue}%(!.%1~.%~) ''${vcs_info_msg_0_}%F{blue}%(!.#.$)%k%b%f "''; # This value determines the NixOS release with which your system is to be # compatible, in order to avoid breaking some software such as database