mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
programs.zsh: revert environment changes
This commit is contained in:
parent
4581746213
commit
30ccc15bed
2 changed files with 5 additions and 5 deletions
|
@ -122,8 +122,7 @@
|
|||
'';
|
||||
|
||||
programs.zsh.interactiveShellInit = ''
|
||||
bindkey -e
|
||||
setopt AUTOCD
|
||||
setopt AUTOCD AUTOPUSHD
|
||||
'';
|
||||
|
||||
environment.variables.HOMEBREW_CASK_OPTS = "--appdir=/Applications/cask";
|
||||
|
|
|
@ -113,9 +113,6 @@ in
|
|||
if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
|
||||
export __ETC_ZSHENV_SOURCED=1
|
||||
|
||||
export PATH=${config.environment.systemPath}''${PATH:+:$PATH}
|
||||
${config.system.build.setEnvironment}
|
||||
|
||||
${cfg.shellInit}
|
||||
|
||||
# Read system-wide modifications.
|
||||
|
@ -146,6 +143,8 @@ in
|
|||
# /etc/zshrc: DO NOT EDIT -- this file has been generated automatically.
|
||||
# This file is read for interactive shells.
|
||||
|
||||
bindkey -e
|
||||
|
||||
# Only execute this file once per shell.
|
||||
if [ -n "$__ETC_ZSHRC_SOURCED" -o -n "$NOSYSZSHRC" ]; then return; fi
|
||||
__ETC_ZSHRC_SOURCED=1
|
||||
|
@ -157,6 +156,8 @@ in
|
|||
|
||||
setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK
|
||||
|
||||
export PATH=${config.environment.systemPath}''${PATH:+:$PATH}
|
||||
${config.system.build.setEnvironment}
|
||||
${config.system.build.setAliases}
|
||||
|
||||
${config.environment.extraInit}
|
||||
|
|
Loading…
Add table
Reference in a new issue