diff options
| author | Fuwn <[email protected]> | 2025-01-05 03:56:14 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-01-05 03:56:14 -0800 |
| commit | b7c6ee6efce7f9831ace3f7b6d72d1d7ffce6433 (patch) | |
| tree | 49671d5b166352ab0f0995004686bbff04e549e7 /home/ebisu/nara | |
| parent | nara: drop fish, configure zsh (diff) | |
| download | nixos-config-b7c6ee6efce7f9831ace3f7b6d72d1d7ffce6433.tar.xz nixos-config-b7c6ee6efce7f9831ace3f7b6d72d1d7ffce6433.zip | |
nara: add zsh prompt
Diffstat (limited to 'home/ebisu/nara')
| -rw-r--r-- | home/ebisu/nara/default.nix | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/home/ebisu/nara/default.nix b/home/ebisu/nara/default.nix index 7686310..b6aff7d 100644 --- a/home/ebisu/nara/default.nix +++ b/home/ebisu/nara/default.nix @@ -9,10 +9,20 @@ file = { ".hushlogin".text = ""; - ".zshrc".text = '' - source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh - source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh - ''; + ".zshrc".text = + let + agkozak-zsh-prompt = pkgs.fetchFromGitHub { + owner = "agkozak"; + repo = "agkozak-zsh-prompt"; + rev = "v3.11.4"; + hash = "sha256-FC9LIZaS6fV20qq6cJC/xQvfsM3DHXatVleH7yBgoNg="; + }; + in + '' + source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh + source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh + source ${agkozak-zsh-prompt}/agkozak-zsh-prompt.plugin.zsh + ''; }; packages = with pkgs; [ |