feat(wrapping): introduce wrapped configurations
This commit is contained in:
parent
3892f6f79b
commit
2aa24ab2b9
22 changed files with 883 additions and 135 deletions
22
overlays/derivations/nu/cfg/config.nu
Normal file
22
overlays/derivations/nu/cfg/config.nu
Normal file
|
@ -0,0 +1,22 @@
|
|||
# config.nu
|
||||
#
|
||||
# Installed by:
|
||||
# version = "0.101.0"
|
||||
#
|
||||
# This file is used to override default Nushell settings, define
|
||||
# (or import) custom commands, or run any other startup tasks.
|
||||
# See https://www.nushell.sh/book/configuration.html
|
||||
#
|
||||
# This file is loaded after env.nu and before login.nu
|
||||
#
|
||||
# You can open this file in your default editor using:
|
||||
# config nu
|
||||
#
|
||||
# See `help config nu` for more options
|
||||
#
|
||||
# You can remove these comments if you want or leave
|
||||
# them for future reference.
|
||||
|
||||
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||
zoxide init nushell | save -f ($nu.data-dir | path join "vendor/autoload/zoxide.nu")
|
18
overlays/derivations/nu/cfg/env.nu
Normal file
18
overlays/derivations/nu/cfg/env.nu
Normal file
|
@ -0,0 +1,18 @@
|
|||
# env.nu
|
||||
#
|
||||
# Installed by:
|
||||
# version = "0.101.0"
|
||||
#
|
||||
# Previously, environment variables were typically configured in `env.nu`.
|
||||
# In general, most configuration can and should be performed in `config.nu`
|
||||
# or one of the autoload directories.
|
||||
#
|
||||
# This file is generated for backwards compatibility for now.
|
||||
# It is loaded before config.nu and login.nu
|
||||
#
|
||||
# See https://www.nushell.sh/book/configuration.html
|
||||
#
|
||||
# Also see `help config env` for more options.
|
||||
#
|
||||
# You can remove these comments if you want or leave
|
||||
# them for future reference.
|
Loading…
Add table
Add a link
Reference in a new issue