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

Loading…
Cancel
Save