diff --git a/dot_config/nushell/config.nu b/dot_config/nushell/config.nu index d5c86e2..c072138 100644 --- a/dot_config/nushell/config.nu +++ b/dot_config/nushell/config.nu @@ -1,3 +1,7 @@ +def src [] { + chezmoi apply; source $nu.env-path; source ~/.config/nushell/env.nu +} + # Aliases # General aliases @@ -9,6 +13,12 @@ alias cd.. = cd ../ alias rmrf = rm -rf alias czm = chezmoi +# chezmoi aliases +alias ce = chezmoi edit --watch +alias ce-env = chezmoi edit --watch ~/.config/nushell/env.nu +alias ce-shell = chezmoi edit --watch ~/.config/nushell/config.nu +alias ccd = chezmoi cd + # overrides of defaults alias mkdir = mkdir alias cp = cp -r