From c77e161bfa45200d13e28e952ab8b1fda165cf5a Mon Sep 17 00:00:00 2001 From: sajenim Date: Sun, 23 Apr 2023 05:48:20 +0800 Subject: [PATCH] alias + prompt --- home-manager/programs/zsh.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home-manager/programs/zsh.nix b/home-manager/programs/zsh.nix index 823934b..56fa9b1 100644 --- a/home-manager/programs/zsh.nix +++ b/home-manager/programs/zsh.nix @@ -25,6 +25,9 @@ ud = "cd .."; la = "ls -a"; ll = "ls -l"; + tt = "wezterm cli set-tab-title "; + uh = "home-manager switch --flake .#sajenim@fuchsia"; + us = "sudo nixos-rebuild switch --flake .#fuchsia"; }; # An attribute set that adds to named directory hash table @@ -49,6 +52,7 @@ # Extra commands that should be added to '.zshrc' initExtra = '' + PROMPT='%F{blue}%n %F{cyan}%~ %F{red}♥ %f'; ''; }; }