Browse Source

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

master
Thorn Avery 3 years ago
parent
commit
9570691cf6
3 changed files with 3 additions and 2 deletions
  1. +0
    -1
      modules/bspwm/home.nix
  2. +2
    -1
      modules/zsh/home.nix
  3. +1
    -0
      users/thorn/home.nix

+ 0
- 1
modules/bspwm/home.nix View File

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

home.packages = with pkgs; [


modules/bspwm/zsh.nix → modules/zsh/home.nix 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";

+ 1
- 0
users/thorn/home.nix 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


Loading…
Cancel
Save