Browse Source

hmgr: zsh

dev_01_initial
pfke 2 years ago
parent
commit
fe74c748d7
  1. 17
      home-manager/modules/cli/zsh.nix

17
home-manager/modules/cli/zsh.nix

@ -3,7 +3,6 @@
{ {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableAutosuggestion = true;
history= rec { history= rec {
share = true; share = true;
@ -20,14 +19,14 @@
rs = "rsync -a --info=progress2 "; rs = "rsync -a --info=progress2 ";
}; };
pathSetup = '' #pathSetup = ''
export PATH="${prefixEnvPath "PATH" [ # export PATH="${prefixEnvPath "PATH" [
"$HOME/.nix-profile/bin" # "$HOME/.nix-profile/bin"
"/nix/var/nix/profiles/default/bin" # "/nix/var/nix/profiles/default/bin"
]}"; # ]}";
export MANPATH="$HOME/.nix-profile/share/man:$(manpath 2>/dev/null)"; # export MANPATH="$HOME/.nix-profile/share/man:$(manpath 2>/dev/null)";
typeset -U PATH path # typeset -U PATH path
''; #'';
initExtra = '' initExtra = ''
# Write out history line-by-line, rather than on shell session exit # Write out history line-by-line, rather than on shell session exit
setopt INC_APPEND_HISTORY setopt INC_APPEND_HISTORY

Loading…
Cancel
Save