We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d89f2e commit ac7f74eCopy full SHA for ac7f74e
1 file changed
main/static/setup.sh
@@ -1,12 +1,6 @@
1
# Installs the Nix package manager
2
yes | sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon
3
4
-# Updates shell to have nix commands
5
-exec bash
6
-
7
-# Installs packages with nix
8
-nix-env -iA nixpkgs.zsh nixpkgs.neovim
9
10
# Sets up zsh config
11
cat << EOF > ~/.zshrc
12
autoload -U colors && colors
@@ -15,6 +9,12 @@ bindkey "^[[1;5C" forward-word
15
bindkey "^[[1;5D" backward-word
16
EOF
17
+# Updates shell to have nix commands
13
+exec bash -c '
14
+# Installs packages with nix
+nix-env -iA nixpkgs.zsh nixpkgs.neovim
+
18
# Sets up zsh as the default shell
19
chsh -s $(which zsh)
+'
20
0 commit comments