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 }