From 822d484b682395e84612b7d3cc5ce52c4b99b5e2 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 7 Oct 2016 17:18:17 -0400 Subject: [PATCH] oh-my-zsh: Fix oh-my-zsh's loading of ~/.oh-my-zsh --- pkgs/shells/oh-my-zsh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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