mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
Merge pull request #19342 from grahamc/oh-my-zsh
oh-my-zsh: Fix oh-my-zsh's loading of ~/.oh-my-zsh
This commit is contained in:
commit
02d7fbb678
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue