From d18b4c797172bc81a4b3348719d6bced168c6d0c Mon Sep 17 00:00:00 2001 From: liv Date: Wed, 6 Nov 2024 15:15:47 +0100 Subject: [PATCH] add more chezmoi aliases --- dot_config/nushell/config.nu | 10 ++++++++++ 1 file changed, 10 insertions(+) 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