summaryrefslogtreecommitdiff
path: root/modules/programs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-03-27 00:32:31 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-03-27 00:32:31 +0200
commit072d2e75abf9a26ab8dc7eecf94e8b5966689943 (patch)
tree9bde73724d2135bf90ab12ddb9e6db732f47cf34 /modules/programs
parent133b43a2cf3500048b53e697cafc78d36039b171 (diff)
zsh: fix nix run shells of nix 2.0
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/zsh/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/programs/zsh/default.nix b/modules/programs/zsh/default.nix
index 6e84389..de90433 100644
--- a/modules/programs/zsh/default.nix
+++ b/modules/programs/zsh/default.nix
@@ -158,6 +158,9 @@ in
if [ -n "$__ETC_ZSHRC_SOURCED" -o -n "$NOSYSZSHRC" ]; then return; fi
__ETC_ZSHRC_SOURCED=1
+ # Also set to fix `nix run` shells.
+ __ETC_BASHRC_SOURCED=1
+
# history defaults
SAVEHIST=2000
HISTSIZE=2000