1
0
Fork 0
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:
Daiderd Jordan 2017-01-09 01:41:37 +01:00
parent 4581746213
commit 30ccc15bed
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 5 additions and 5 deletions

View file

@ -122,8 +122,7 @@
'';
programs.zsh.interactiveShellInit = ''
bindkey -e
setopt AUTOCD
setopt AUTOCD AUTOPUSHD
'';
environment.variables.HOMEBREW_CASK_OPTS = "--appdir=/Applications/cask";

View file

@ -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}