setup shell.nix + direnv

This commit is contained in:
♥ Minnie ♥ 2023-07-25 11:12:02 +08:00
parent da9853bc31
commit cb2916802c
5 changed files with 11 additions and 0 deletions

View file

@ -51,6 +51,7 @@
# Extra commands that should be added to '.zshrc'
initExtra = ''
eval "$(direnv hook zsh)"
source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
PROMPT='%F{blue}%n %F{cyan}%~ %F{red} %f';
'';