AutoYADM commit: 2025-04-13 15:15:06
This commit is contained in:
parent
996adedf4f
commit
3954427eaf
3 changed files with 25 additions and 0 deletions
|
@ -10,3 +10,5 @@ abbr -a --set-cursor gcm git commit -m \"%\"
|
|||
abbr -a lsa ls -a -l
|
||||
abbr -a hconf hx /home/fic/.config/helix/config.toml
|
||||
abbr -a hlang hx /home/fic/.config/helix/languages.toml
|
||||
abbr -a hjust hx /home/fic/.config/just/justfile
|
||||
abbr -a justg just -g
|
||||
|
|
22
.config/just/justfile
Normal file
22
.config/just/justfile
Normal file
|
@ -0,0 +1,22 @@
|
|||
default:
|
||||
@just -g --list
|
||||
|
||||
# confirm the recipe pwd
|
||||
pwd:
|
||||
pwd
|
||||
|
||||
# commit all? extra-opts?
|
||||
commit arg="" extra="":
|
||||
#!/bin/fish
|
||||
if test "{{ arg }}" = 'all'
|
||||
git add .
|
||||
git commit {{ extra }}
|
||||
else if test "{{ arg }}" = ""
|
||||
git commit -a $extra
|
||||
else
|
||||
echo '{{ arg }} is not a valid argument!'
|
||||
end
|
||||
|
||||
# commit all? --amend
|
||||
amend arg="":
|
||||
@just -g commit {{ arg }} "--amend"
|
|
@ -66,3 +66,4 @@
|
|||
.config/tui-journal
|
||||
.config/vdirsyncer
|
||||
.config/khal
|
||||
.config/just
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue