diff --git a/content/config/broot/ide.toml.tmpl b/content/config/broot/ide.toml.tmpl index 6e66584..e8418c5 100644 --- a/content/config/broot/ide.toml.tmpl +++ b/content/config/broot/ide.toml.tmpl @@ -15,7 +15,7 @@ icon_theme = "vscode" key = "enter" shortcut = "e" external = "nu {{dirs.data}}/scripts/ide.nu open-file '{file}'" -apply_to = "any" +apply_to = "file" leave_broot = false [[verbs]] @@ -36,7 +36,7 @@ invocation = "open_leave" key = "alt-enter" shortcut = "ol" external = "nu -c \"touch {directory}/{name}\"" -apply_to = "any" +apply_to = "file" [[verbs]] invocation = "open_stay" @@ -44,5 +44,5 @@ key = "enter" shortcut = "os" external = "nu -c \"touch {directory}/{name}\"" leave_broot = false -apply_to = "any" +apply_to = "file" diff --git a/content/config/nushell/aliases.nu.tmpl b/content/config/nushell/aliases.nu.tmpl index 928c365..735ecea 100644 --- a/content/config/nushell/aliases.nu.tmpl +++ b/content/config/nushell/aliases.nu.tmpl @@ -15,12 +15,18 @@ alias `shx` = sudo -E helix -c '{{dirs.config}}/helix/config.toml' {{#if-installed nix}} alias devshell = nix develop -c $env.SHELL {{/if-installed}} + {{#if-installed git}} alias gc = git commit alias gp = git push alias ga = git add alias ga. = git add . alias gu = git pull + +def `git yeet` [] { + git add .; git commit -m (http get https://whatthecommit.com/index.txt); git push +} +alias gy = git yeet {{/if-installed}} def --env `silo cd` [] { silo repo | cd $in } diff --git a/content/home/.gitconfig.tmpl b/content/home/.gitconfig.tmpl index 40c48d5..2e1f87b 100644 --- a/content/home/.gitconfig.tmpl +++ b/content/home/.gitconfig.tmpl @@ -24,6 +24,7 @@ [core] editor = hx pager = delta + ignorecase = false [interactive] diffFilter = delta --color-only @@ -70,6 +71,7 @@ [core] editor = helix pager = delta + ignorecase = false [interactive] diffFilter = delta --color-only @@ -124,6 +126,7 @@ [core] editor = helix pager = delta + ignorecase = false [interactive] diffFilter = delta --color-only diff --git a/silo.config.lua b/silo.config.lua index 48bad42..7b8c563 100644 --- a/silo.config.lua +++ b/silo.config.lua @@ -39,6 +39,7 @@ config.modules = { 'neofetch', 'translate-shell', 'tealdeer', + 'jq', 'nodePackages.bash-language-server' }, gui = mod {