Initial commit

This commit is contained in:
duck
2025-12-17 21:43:32 +05:00
commit 591831666f
38 changed files with 2382 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
# General
abbr -a nv nvim
abbr -a lg lazygit
abbr -a tx tmux
abbr -a pc pacman
abbr -a cl clear
function fastparentcd
echo cd (string repeat -n (math (string length -- $argv[1]) - 1) ../)
end
abbr -a dotdot -r "^\.\.+\$" -f fastparentcd
# Git
abbr -a g git
abbr -a ga git add
abbr -a gs git status
abbr -a gss git status -s
abbr -a gc git commit
abbr -a gca git commit --amend
abbr -a gb git rebase
abbr -a gbc git rebase --continue
abbr -a gg git push
abbr -a gp git pull
abbr -a gw git switch
abbr -a go git restore
abbr -a gr git reset
abbr -a goo git restore -S
abbr -a gri git rebase -i
abbr -a ge git remote
abbr -a ger git remote remove
abbr -a gea git remote add
abbr -a ges git remote show -n
abbr -a gf git fetch
abbr -a gd git diff
abbr -a gds git diff --staged
# Zig
abbr -a zb zig build
abbr -a zbr zig build run
abbr -a zbe zig build-exe
abbr -a zbt zig build test