moved zsh to its own module + fixed swatch in prompt not updating

This commit is contained in:
Thorn Avery 2021-05-03 08:24:52 +00:00
parent 2536fb5dd9
commit 9570691cf6
3 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,6 @@
imports = [
./wm.nix
./rofi.nix
./zsh.nix
];
home.packages = with pkgs; [

View File

@ -22,8 +22,9 @@ in {
share = true;
};
initExtra = ''
setopt promptsubst
autoload -U colors && colors
export PROMPT="%{$fg[white]%}%B$(swatch)%b %{$fg[blue]%}%2~ %{$fg[green]%}%B>%b ";
export PROMPT='%{$fg[white]%}%B$(swatch)%b %{$fg[blue]%}%2~ %{$fg[green]%}%B>%b '
'';
shellAliases = {
nf = "neofetch --gtk2 off --gtk3 off --ascii_bold on";

View File

@ -16,6 +16,7 @@
../../modules/bspwm/home.nix
../../modules/urxvt/home.nix
../../modules/picom/home.nix
../../modules/zsh/home.nix
./fonts/home.nix
./xresources.nix