From 9be160d26c0de5115cdc96c4981b8c1421a23dda Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 19 Aug 2020 23:09:31 +0200 Subject: [PATCH] zsh: nixify: Use shell.nix instead of default.nix --- home/.zshrc.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/.zshrc.local b/home/.zshrc.local index 349d6df..083d5db 100644 --- a/home/.zshrc.local +++ b/home/.zshrc.local @@ -61,7 +61,7 @@ nixify() { direnv allow fi if [[ ! -e shell.nix ]] && [[ ! -e default.nix ]]; then - cat > default.nix << EOF + cat > shell.nix << EOF { pkgs ? import {} }: pkgs.mkShell { @@ -69,7 +69,7 @@ pkgs.mkShell { ]; } EOF - ${EDITOR:-vim} default.nix + vim shell.nix fi }