Add git yeet

main
Julius Riegel 2 months ago
parent 541ea747f4
commit eab4b3dc27

@ -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"

@ -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 }

@ -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

@ -39,6 +39,7 @@ config.modules = {
'neofetch',
'translate-shell',
'tealdeer',
'jq',
'nodePackages.bash-language-server'
},
gui = mod {

Loading…
Cancel
Save