Skip to content

Commit

Permalink
feat: ensure ~/.config/nu.env.toml exists
Browse files Browse the repository at this point in the history
  • Loading branch information
flovilmart committed Nov 3, 2024
1 parent fa4e826 commit 8cbecc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ nushell() {
NU_CONFIG_DIR=$(nu -c '$nu.default-config-dir')
NU_CONFIG=${NU_CONFIG_DIR}/config.nu
NU_ENV=${NU_CONFIG_DIR}/env.nu
touch ${HOME}/.config/nu.env.toml
ln -sfn $(pwd)/nushell/env.nu "${NU_ENV}"
ln -sfn $(pwd)/nushell/config.nu "${NU_CONFIG}"
ln -sfn $(pwd)/nushell/scripts "${NU_CONFIG_DIR}/scripts"
Expand Down

0 comments on commit 8cbecc4

Please sign in to comment.