Ajout des alias de fish
parent
ff7ee54e0e
commit
0ecc12662d
|
|
@ -0,0 +1,4 @@
|
|||
function ga --wraps='git add' --description 'alias ga=git add'
|
||||
git add $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gb --wraps='git branch' --description 'alias gb=git branch'
|
||||
git branch $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gba --wraps='git branch --all' --description 'alias gba=git branch --all'
|
||||
git branch --all $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gbd --wraps='git branch --delete' --description 'alias gbd=git branch --delete'
|
||||
git branch --delete $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gc --wraps='git commit --verbose' --description 'alias gc=git commit --verbose'
|
||||
git commit --verbose $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gcb --wraps='git checkout -b' --description 'alias gcb=git checkout -b'
|
||||
git checkout -b $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gco --wraps='git checkout' --description 'alias gco=git checkout'
|
||||
git checkout $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gcp --wraps='git cherry-pick' --description 'alias gcp=git cherry-pick'
|
||||
git cherry-pick $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gcpa --wraps='git cherry-pick --abort' --description 'alias gcpa=git cherry-pick --abort'
|
||||
git cherry-pick --abort $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gcpc --wraps='git cherry-pick --continue' --description 'alias gcpc=git cherry-pick --continue'
|
||||
git cherry-pick --continue $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gd --wraps='git diff' --description 'alias gd=git diff'
|
||||
git diff $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gdca --wraps='git diff --cached' --description 'alias gdca=git diff --cached'
|
||||
git diff --cached $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gds --wraps='git diff --staged' --description 'alias gds=git diff --staged'
|
||||
git diff --staged $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gf --wraps='git fetch' --description 'alias gf=git fetch'
|
||||
git fetch $argv
|
||||
|
||||
end
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gr --wraps='git remote' --description 'alias gr=git remote'
|
||||
git remote $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gra --wraps='git remote add' --description 'alias gra=git remote add'
|
||||
git remote add $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function grb --wraps='git rebase' --description 'alias grb=git rebase'
|
||||
git rebase $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function grba --wraps='git rebase --abort' --description 'alias grba=git rebase --abort'
|
||||
git rebase --abort $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function grbc --wraps='git rebase --continue' --description 'alias grbc=git rebase --continue'
|
||||
git rebase --continue $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function grbi --wraps='git rebase --interactive' --description 'alias grbi=git rebase --interactive'
|
||||
git rebase --interactive $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function grbs --wraps='git rebase --skip' --description 'alias grbs=git rebase --skip'
|
||||
git rebase --skip $argv
|
||||
|
||||
end
|
||||
|
|
@ -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
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function grh --wraps='git reset' --description 'alias grh=git reset'
|
||||
git reset $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function grhh --wraps='git reset --hard' --description 'alias grhh=git reset --hard'
|
||||
git reset --hard $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function grhs --wraps='git reset --soft' --description 'alias grhs=git reset --soft'
|
||||
git reset --soft $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function grm --wraps='git rm' --description 'alias grm=git rm'
|
||||
git rm $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function grmc --wraps='git rm --cached' --description 'alias grmc=git rm --cached'
|
||||
git rm --cached $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gst --wraps='git status' --description 'alias gst=git status'
|
||||
git status $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gsta --wraps='git stash push' --description 'alias gsta=git stash push'
|
||||
git stash push $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gstaa --wraps='git stash apply' --description 'alias gstaa=git stash apply'
|
||||
git stash apply $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gstd --wraps='git stash drop' --description 'alias gstd=git stash drop'
|
||||
git stash drop $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gstl --wraps='git stash list' --description 'alias gstl=git stash list'
|
||||
git stash list $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gstp --wraps='git stash pop' --description 'alias gstp=git stash pop'
|
||||
git stash pop $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function gsts --wraps='git stash show --patch' --description 'alias gsts=git stash show --patch'
|
||||
git stash show --patch $argv
|
||||
|
||||
end
|
||||
|
|
@ -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
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function kaf --wraps='kubectl apply -f' --description 'alias kaf=kubectl apply -f'
|
||||
kubectl apply -f $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function l --wraps='ls -lah' --description 'alias l=ls -lah'
|
||||
ls -lah $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function la --wraps=ls --wraps='ls -lAh' --description 'alias la=ls -lAh'
|
||||
ls -lAh $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function ls --description 'alias ls=ls --color=tty'
|
||||
command ls --color=tty $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function md --wraps='mkdir -p' --description 'alias md=mkdir -p'
|
||||
mkdir -p $argv
|
||||
|
||||
end
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
function rd --wraps=rmdir --description 'alias rd=rmdir'
|
||||
rmdir $argv
|
||||
|
||||
end
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue