diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/nushell/040_config.nu | 19 | ||||
| -rw-r--r-- | src/nushell/040_environment.nu | 21 |
2 files changed, 40 insertions, 0 deletions
diff --git a/src/nushell/040_config.nu b/src/nushell/040_config.nu new file mode 100644 index 0000000..7ac7b2e --- /dev/null +++ b/src/nushell/040_config.nu @@ -0,0 +1,19 @@ +# +# ~~~ nushell config +# + +# +# ~~~ environment +use environment.nu + +# +# ~~~ custom commands + +# youtube +use scripts/youtube.nu * + +# +# ~~~ theming + +# hide banner +$env.config.show_banner = false diff --git a/src/nushell/040_environment.nu b/src/nushell/040_environment.nu new file mode 100644 index 0000000..0c4d570 --- /dev/null +++ b/src/nushell/040_environment.nu @@ -0,0 +1,21 @@ +# +# ~~~ nushell env config +# + +export-env { + + # + # ~~~ system + + # setup editor + $env.EDITOR = "nvim" + + # setup path + $env.PATH ++= [ "/opt/homebrew/bin", "/opt/local/bin" ] + + # + # ~~~ applications + + # disable homebrew hints + $env.HOMEBREW_NO_ENV_HINTS = 1 +} |
