ソースを参照

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

master
Thorn Avery 3年前
コミット
9570691cf6
3個のファイルの変更3行の追加2行の削除
  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 ファイルの表示

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

home.packages = with pkgs; [


modules/bspwm/zsh.nix → modules/zsh/home.nix ファイルの表示

@@ -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 ファイルの表示

@@ -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


読み込み中…
キャンセル
保存