diff --git a/.config/fish/functions/ga.fish b/.config/fish/functions/ga.fish new file mode 100644 index 0000000..6661b8c --- /dev/null +++ b/.config/fish/functions/ga.fish @@ -0,0 +1,4 @@ +function ga --wraps='git add' --description 'alias ga=git add' + git add $argv + +end diff --git a/.config/fish/functions/gb.fish b/.config/fish/functions/gb.fish new file mode 100644 index 0000000..94a3913 --- /dev/null +++ b/.config/fish/functions/gb.fish @@ -0,0 +1,4 @@ +function gb --wraps='git branch' --description 'alias gb=git branch' + git branch $argv + +end diff --git a/.config/fish/functions/gba.fish b/.config/fish/functions/gba.fish new file mode 100644 index 0000000..2694db5 --- /dev/null +++ b/.config/fish/functions/gba.fish @@ -0,0 +1,4 @@ +function gba --wraps='git branch --all' --description 'alias gba=git branch --all' + git branch --all $argv + +end diff --git a/.config/fish/functions/gbd.fish b/.config/fish/functions/gbd.fish new file mode 100644 index 0000000..e0294e3 --- /dev/null +++ b/.config/fish/functions/gbd.fish @@ -0,0 +1,4 @@ +function gbd --wraps='git branch --delete' --description 'alias gbd=git branch --delete' + git branch --delete $argv + +end diff --git a/.config/fish/functions/gc.fish b/.config/fish/functions/gc.fish new file mode 100644 index 0000000..daaeb93 --- /dev/null +++ b/.config/fish/functions/gc.fish @@ -0,0 +1,4 @@ +function gc --wraps='git commit --verbose' --description 'alias gc=git commit --verbose' + git commit --verbose $argv + +end diff --git a/.config/fish/functions/gcb.fish b/.config/fish/functions/gcb.fish new file mode 100644 index 0000000..21c11b7 --- /dev/null +++ b/.config/fish/functions/gcb.fish @@ -0,0 +1,4 @@ +function gcb --wraps='git checkout -b' --description 'alias gcb=git checkout -b' + git checkout -b $argv + +end diff --git a/.config/fish/functions/gco.fish b/.config/fish/functions/gco.fish new file mode 100644 index 0000000..ac512e9 --- /dev/null +++ b/.config/fish/functions/gco.fish @@ -0,0 +1,4 @@ +function gco --wraps='git checkout' --description 'alias gco=git checkout' + git checkout $argv + +end diff --git a/.config/fish/functions/gcp.fish b/.config/fish/functions/gcp.fish new file mode 100644 index 0000000..5957fef --- /dev/null +++ b/.config/fish/functions/gcp.fish @@ -0,0 +1,4 @@ +function gcp --wraps='git cherry-pick' --description 'alias gcp=git cherry-pick' + git cherry-pick $argv + +end diff --git a/.config/fish/functions/gcpa.fish b/.config/fish/functions/gcpa.fish new file mode 100644 index 0000000..8bb3d5d --- /dev/null +++ b/.config/fish/functions/gcpa.fish @@ -0,0 +1,4 @@ +function gcpa --wraps='git cherry-pick --abort' --description 'alias gcpa=git cherry-pick --abort' + git cherry-pick --abort $argv + +end diff --git a/.config/fish/functions/gcpc.fish b/.config/fish/functions/gcpc.fish new file mode 100644 index 0000000..82d939e --- /dev/null +++ b/.config/fish/functions/gcpc.fish @@ -0,0 +1,4 @@ +function gcpc --wraps='git cherry-pick --continue' --description 'alias gcpc=git cherry-pick --continue' + git cherry-pick --continue $argv + +end diff --git a/.config/fish/functions/gd.fish b/.config/fish/functions/gd.fish new file mode 100644 index 0000000..f92b89c --- /dev/null +++ b/.config/fish/functions/gd.fish @@ -0,0 +1,4 @@ +function gd --wraps='git diff' --description 'alias gd=git diff' + git diff $argv + +end diff --git a/.config/fish/functions/gdca.fish b/.config/fish/functions/gdca.fish new file mode 100644 index 0000000..c8c9102 --- /dev/null +++ b/.config/fish/functions/gdca.fish @@ -0,0 +1,4 @@ +function gdca --wraps='git diff --cached' --description 'alias gdca=git diff --cached' + git diff --cached $argv + +end diff --git a/.config/fish/functions/gds.fish b/.config/fish/functions/gds.fish new file mode 100644 index 0000000..98d6f44 --- /dev/null +++ b/.config/fish/functions/gds.fish @@ -0,0 +1,4 @@ +function gds --wraps='git diff --staged' --description 'alias gds=git diff --staged' + git diff --staged $argv + +end diff --git a/.config/fish/functions/gf.fish b/.config/fish/functions/gf.fish new file mode 100644 index 0000000..3867274 --- /dev/null +++ b/.config/fish/functions/gf.fish @@ -0,0 +1,4 @@ +function gf --wraps='git fetch' --description 'alias gf=git fetch' + git fetch $argv + +end diff --git a/.config/fish/functions/gfa.fish b/.config/fish/functions/gfa.fish new file mode 100644 index 0000000..7b696c9 --- /dev/null +++ b/.config/fish/functions/gfa.fish @@ -0,0 +1,4 @@ +function gfa --wraps='git fetch --all --prune --jobs=10' --description 'alias gfa=git fetch --all --prune --jobs=10' + git fetch --all --prune --jobs=10 $argv + +end diff --git a/.config/fish/functions/ggpush.fish b/.config/fish/functions/ggpush.fish new file mode 100644 index 0000000..fe94616 --- /dev/null +++ b/.config/fish/functions/ggpush.fish @@ -0,0 +1,4 @@ +function ggpush --wraps='git push origin "$(git_current_branch)"' --description 'alias ggpush=git push origin "$(git_current_branch)"' + git push origin "$(git_current_branch)" $argv + +end diff --git a/.config/fish/functions/gr.fish b/.config/fish/functions/gr.fish new file mode 100644 index 0000000..f01ab4f --- /dev/null +++ b/.config/fish/functions/gr.fish @@ -0,0 +1,4 @@ +function gr --wraps='git remote' --description 'alias gr=git remote' + git remote $argv + +end diff --git a/.config/fish/functions/gra.fish b/.config/fish/functions/gra.fish new file mode 100644 index 0000000..637b610 --- /dev/null +++ b/.config/fish/functions/gra.fish @@ -0,0 +1,4 @@ +function gra --wraps='git remote add' --description 'alias gra=git remote add' + git remote add $argv + +end diff --git a/.config/fish/functions/grb.fish b/.config/fish/functions/grb.fish new file mode 100644 index 0000000..75fd630 --- /dev/null +++ b/.config/fish/functions/grb.fish @@ -0,0 +1,4 @@ +function grb --wraps='git rebase' --description 'alias grb=git rebase' + git rebase $argv + +end diff --git a/.config/fish/functions/grba.fish b/.config/fish/functions/grba.fish new file mode 100644 index 0000000..c46b222 --- /dev/null +++ b/.config/fish/functions/grba.fish @@ -0,0 +1,4 @@ +function grba --wraps='git rebase --abort' --description 'alias grba=git rebase --abort' + git rebase --abort $argv + +end diff --git a/.config/fish/functions/grbc.fish b/.config/fish/functions/grbc.fish new file mode 100644 index 0000000..21cf677 --- /dev/null +++ b/.config/fish/functions/grbc.fish @@ -0,0 +1,4 @@ +function grbc --wraps='git rebase --continue' --description 'alias grbc=git rebase --continue' + git rebase --continue $argv + +end diff --git a/.config/fish/functions/grbi.fish b/.config/fish/functions/grbi.fish new file mode 100644 index 0000000..5198b94 --- /dev/null +++ b/.config/fish/functions/grbi.fish @@ -0,0 +1,4 @@ +function grbi --wraps='git rebase --interactive' --description 'alias grbi=git rebase --interactive' + git rebase --interactive $argv + +end diff --git a/.config/fish/functions/grbs.fish b/.config/fish/functions/grbs.fish new file mode 100644 index 0000000..8c6230f --- /dev/null +++ b/.config/fish/functions/grbs.fish @@ -0,0 +1,4 @@ +function grbs --wraps='git rebase --skip' --description 'alias grbs=git rebase --skip' + git rebase --skip $argv + +end diff --git a/.config/fish/functions/grep.fish b/.config/fish/functions/grep.fish new file mode 100644 index 0000000..adaf5e6 --- /dev/null +++ b/.config/fish/functions/grep.fish @@ -0,0 +1,4 @@ +function grep --description 'alias grep=grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' + command grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox} $argv + +end diff --git a/.config/fish/functions/grh.fish b/.config/fish/functions/grh.fish new file mode 100644 index 0000000..3ceb016 --- /dev/null +++ b/.config/fish/functions/grh.fish @@ -0,0 +1,4 @@ +function grh --wraps='git reset' --description 'alias grh=git reset' + git reset $argv + +end diff --git a/.config/fish/functions/grhh.fish b/.config/fish/functions/grhh.fish new file mode 100644 index 0000000..b47fd3c --- /dev/null +++ b/.config/fish/functions/grhh.fish @@ -0,0 +1,4 @@ +function grhh --wraps='git reset --hard' --description 'alias grhh=git reset --hard' + git reset --hard $argv + +end diff --git a/.config/fish/functions/grhs.fish b/.config/fish/functions/grhs.fish new file mode 100644 index 0000000..375e6f3 --- /dev/null +++ b/.config/fish/functions/grhs.fish @@ -0,0 +1,4 @@ +function grhs --wraps='git reset --soft' --description 'alias grhs=git reset --soft' + git reset --soft $argv + +end diff --git a/.config/fish/functions/grm.fish b/.config/fish/functions/grm.fish new file mode 100644 index 0000000..ae02b03 --- /dev/null +++ b/.config/fish/functions/grm.fish @@ -0,0 +1,4 @@ +function grm --wraps='git rm' --description 'alias grm=git rm' + git rm $argv + +end diff --git a/.config/fish/functions/grmc.fish b/.config/fish/functions/grmc.fish new file mode 100644 index 0000000..da1fcbe --- /dev/null +++ b/.config/fish/functions/grmc.fish @@ -0,0 +1,4 @@ +function grmc --wraps='git rm --cached' --description 'alias grmc=git rm --cached' + git rm --cached $argv + +end diff --git a/.config/fish/functions/gst.fish b/.config/fish/functions/gst.fish new file mode 100644 index 0000000..1822c5c --- /dev/null +++ b/.config/fish/functions/gst.fish @@ -0,0 +1,4 @@ +function gst --wraps='git status' --description 'alias gst=git status' + git status $argv + +end diff --git a/.config/fish/functions/gsta.fish b/.config/fish/functions/gsta.fish new file mode 100644 index 0000000..2554611 --- /dev/null +++ b/.config/fish/functions/gsta.fish @@ -0,0 +1,4 @@ +function gsta --wraps='git stash push' --description 'alias gsta=git stash push' + git stash push $argv + +end diff --git a/.config/fish/functions/gstaa.fish b/.config/fish/functions/gstaa.fish new file mode 100644 index 0000000..c66a012 --- /dev/null +++ b/.config/fish/functions/gstaa.fish @@ -0,0 +1,4 @@ +function gstaa --wraps='git stash apply' --description 'alias gstaa=git stash apply' + git stash apply $argv + +end diff --git a/.config/fish/functions/gstd.fish b/.config/fish/functions/gstd.fish new file mode 100644 index 0000000..85b5725 --- /dev/null +++ b/.config/fish/functions/gstd.fish @@ -0,0 +1,4 @@ +function gstd --wraps='git stash drop' --description 'alias gstd=git stash drop' + git stash drop $argv + +end diff --git a/.config/fish/functions/gstl.fish b/.config/fish/functions/gstl.fish new file mode 100644 index 0000000..d104f42 --- /dev/null +++ b/.config/fish/functions/gstl.fish @@ -0,0 +1,4 @@ +function gstl --wraps='git stash list' --description 'alias gstl=git stash list' + git stash list $argv + +end diff --git a/.config/fish/functions/gstp.fish b/.config/fish/functions/gstp.fish new file mode 100644 index 0000000..9ae7c2a --- /dev/null +++ b/.config/fish/functions/gstp.fish @@ -0,0 +1,4 @@ +function gstp --wraps='git stash pop' --description 'alias gstp=git stash pop' + git stash pop $argv + +end diff --git a/.config/fish/functions/gsts.fish b/.config/fish/functions/gsts.fish new file mode 100644 index 0000000..28844ff --- /dev/null +++ b/.config/fish/functions/gsts.fish @@ -0,0 +1,4 @@ +function gsts --wraps='git stash show --patch' --description 'alias gsts=git stash show --patch' + git stash show --patch $argv + +end diff --git a/.config/fish/functions/gupa.fish b/.config/fish/functions/gupa.fish new file mode 100644 index 0000000..9ad942c --- /dev/null +++ b/.config/fish/functions/gupa.fish @@ -0,0 +1,4 @@ +function gupa --wraps='git pull --rebase --autostash -v' --description 'alias gupa=git pull --rebase --autostash -v' + git pull --rebase --autostash -v $argv + +end diff --git a/.config/fish/functions/kaf.fish b/.config/fish/functions/kaf.fish new file mode 100644 index 0000000..a68fbb5 --- /dev/null +++ b/.config/fish/functions/kaf.fish @@ -0,0 +1,4 @@ +function kaf --wraps='kubectl apply -f' --description 'alias kaf=kubectl apply -f' + kubectl apply -f $argv + +end diff --git a/.config/fish/functions/l.fish b/.config/fish/functions/l.fish new file mode 100644 index 0000000..b4393d2 --- /dev/null +++ b/.config/fish/functions/l.fish @@ -0,0 +1,4 @@ +function l --wraps='ls -lah' --description 'alias l=ls -lah' + ls -lah $argv + +end diff --git a/.config/fish/functions/la.fish b/.config/fish/functions/la.fish new file mode 100644 index 0000000..095f7da --- /dev/null +++ b/.config/fish/functions/la.fish @@ -0,0 +1,4 @@ +function la --wraps=ls --wraps='ls -lAh' --description 'alias la=ls -lAh' + ls -lAh $argv + +end diff --git a/.config/fish/functions/ls.fish b/.config/fish/functions/ls.fish new file mode 100644 index 0000000..818ae7c --- /dev/null +++ b/.config/fish/functions/ls.fish @@ -0,0 +1,4 @@ +function ls --description 'alias ls=ls --color=tty' + command ls --color=tty $argv + +end diff --git a/.config/fish/functions/md.fish b/.config/fish/functions/md.fish new file mode 100644 index 0000000..7f0f681 --- /dev/null +++ b/.config/fish/functions/md.fish @@ -0,0 +1,4 @@ +function md --wraps='mkdir -p' --description 'alias md=mkdir -p' + mkdir -p $argv + +end diff --git a/.config/fish/functions/rd.fish b/.config/fish/functions/rd.fish new file mode 100644 index 0000000..259921d --- /dev/null +++ b/.config/fish/functions/rd.fish @@ -0,0 +1,4 @@ +function rd --wraps=rmdir --description 'alias rd=rmdir' + rmdir $argv + +end diff --git a/.config/fish/functions/vi.fish b/.config/fish/functions/vi.fish new file mode 100644 index 0000000..9baa257 --- /dev/null +++ b/.config/fish/functions/vi.fish @@ -0,0 +1,4 @@ +function vi --wraps=vim --wraps=/home/gil/.local/bin/nvim.appimage --description 'alias vi=/home/gil/.local/bin/nvim.appimage' + /home/gil/.local/bin/nvim.appimage $argv + +end