Skip to content

Commit

Permalink
Be idempotent
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jul 23, 2022
1 parent 6786dc2 commit 0dd7b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ make_symlinks() {

# Experimental
make_nushell_as_login_shell() {
which nu | sudo tee -a /etc/shells
grep '\/nu$' /etc/shells || which nu | sudo tee -a /etc/shells
chsh -s "$(which nu)"
}

Expand Down

0 comments on commit 0dd7b8b

Please sign in to comment.