Skip to content

Commit ac7f74e

Browse files
author
emily747
committed
updated setup.sh
1 parent 9d89f2e commit ac7f74e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

main/static/setup.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# Installs the Nix package manager
22
yes | sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon
33

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-
104
# Sets up zsh config
115
cat << EOF > ~/.zshrc
126
autoload -U colors && colors
@@ -15,6 +9,12 @@ bindkey "^[[1;5C" forward-word
159
bindkey "^[[1;5D" backward-word
1610
EOF
1711

12+
# Updates shell to have nix commands
13+
exec bash -c '
14+
# Installs packages with nix
15+
nix-env -iA nixpkgs.zsh nixpkgs.neovim
16+
1817
# Sets up zsh as the default shell
1918
chsh -s $(which zsh)
19+
'
2020

0 commit comments

Comments
 (0)