Skip to content

Instantly share code, notes, and snippets.

@zphixon
Created April 30, 2024 19:47
Show Gist options
  • Save zphixon/a2eabda22ae0947706d3ae995d6637e5 to your computer and use it in GitHub Desktop.
Save zphixon/a2eabda22ae0947706d3ae995d6637e5 to your computer and use it in GitHub Desktop.
git_wrap_r() {
git `echo $@ | cut -b 1 --complement`
}
git_wrap_l() {
letter=$1
shift
git $letter$@
}
bruh() {
echo -ne "`tput setaf 0``tput setab 1`bruh`tput sgr0`"
sleep 1
echo -ne "\r"
eval $@
}
alias sduo='bruh "sudo $@"'
alias gi='bruh "git_wrap_r $@"'
alias gitc='bruh "git_wrap_l c $@"'
alias gitd='bruh "git_wrap_l d $@"'
alias gitl='bruh "git_wrap_l l $@"'
alias gitp='bruh "git_wrap_l p $@"'
alias gits='bruh "git_wrap_l s $@"'
alias sl='bruh "ls $@"'
@zphixon
Copy link
Author

zphixon commented Apr 30, 2024

gits tatus

GollumWhatsTatersPreciousGIF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment