about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/shell/aliases.nix1
-rw-r--r--home/shell/zsh/prompt.zsh2
2 files changed, 2 insertions, 1 deletions
diff --git a/home/shell/aliases.nix b/home/shell/aliases.nix
index 1759b3c..ed15a23 100644
--- a/home/shell/aliases.nix
+++ b/home/shell/aliases.nix
@@ -4,4 +4,5 @@
   pkgsearch = "nix search nixpkgs";
   hms = "home-manager switch --flake .";
   nr = "sudo nixos-rebuild switch --flake .";
+  flup = "nix flake update --commit-lock-file";
 }
diff --git a/home/shell/zsh/prompt.zsh b/home/shell/zsh/prompt.zsh
index 8473f72..fe93924 100644
--- a/home/shell/zsh/prompt.zsh
+++ b/home/shell/zsh/prompt.zsh
@@ -7,7 +7,7 @@ zstyle ':vcs_info:git*' formats "[%b]"
 zstyle ':vcs_info:*' enable git
 
 precmd () { vcs_info }
-PROMPT="%K{cyan}%F{black}%n@%m%k%F{yellow}%~%f %F{green}${vcs_info_msg_0_}%f%% "
+PROMPT='%m%f %F{yellow}$vcs_info_msg_0_ %F{green}%~%f %F{reset}'
 
 # For tramp (emacs).
 if [ "$TERM" = "dumb" ]; then