summaryrefslogtreecommitdiffstats
path: root/pkgs/shells
diff options
context:
space:
mode:
authorGraham Christensen <graham@tumblr.com>2016-10-07 17:18:17 -0400
committerGraham Christensen <graham@tumblr.com>2016-10-07 17:18:17 -0400
commit822d484b682395e84612b7d3cc5ce52c4b99b5e2 (patch)
tree85098d226b2336b5ff8e9575e07f51e7d8921b45 /pkgs/shells
parente92172517640d6c6bcba0f5ee2d5d2e11b010e62 (diff)
oh-my-zsh: Fix oh-my-zsh's loading of ~/.oh-my-zsh
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/oh-my-zsh/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/shells/oh-my-zsh/default.nix b/pkgs/shells/oh-my-zsh/default.nix
index a7abd36618ad..77e5884835bf 100644
--- a/pkgs/shells/oh-my-zsh/default.nix
+++ b/pkgs/shells/oh-my-zsh/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
chmod -R +w templates
# Change the path to oh-my-zsh dir and disable auto-updating.
- sed -i -e "2c\\ZSH=$outdir/" \
+ sed -i -e "s#ZSH=\$HOME/.oh-my-zsh#ZSH=$outdir#" \
-e 's/\# \(DISABLE_AUTO_UPDATE="true"\)/\1/' \
$template