Last active
December 21, 2021 12:08
-
-
Save svblsvljb/09acc4043a406fec94f41b88fd9bd242 to your computer and use it in GitHub Desktop.
Fast Alias Pack | Download or copy as '.aliases', put into your user directory (~) and add `[[ -f ~/.aliases ]] || . ~/.aliases` to your .zshrc/.bashrc file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Aliases | |
| ## Root Commands Improvements | |
| alias wego='wego -f emoji ' | |
| alias postman='Postman ' | |
| alias eopkg='s eopkg ' | |
| alias apt='sudo apt ' | |
| alias dnf='sudo dnf ' | |
| alias docker='docker ' | |
| alias pip='pip3 ' | |
| alias python='python3 ' | |
| alias grep='grep --color=auto ' | |
| alias ls='ls --color=auto ' | |
| alias mkdir='mkdir -p ' | |
| alias rm='rm -i ' | |
| alias mv='mv -i ' | |
| alias cp='cp -i ' | |
| alias wget='wget -c ' | |
| alias crontab='crontab -i ' | |
| alias exit='exit && exit && exit && exit && exit && exit && exit && exit ' | |
| alias commit='commit -m ' | |
| ## Extra | |
| alias taotao='google-chrome file:///home/aru/Documents/repos/usable-misc/opens_索索夫开局指 南.pdf ' | |
| alias repos='cd ~/Documents/repos ' | |
| alias lookup-repos='cd ~/Documents/lookup-repos ' | |
| alias zrc='vim ~/.zshrc ' | |
| alias newrc='vim ~/Documents/repos/usable-misc/scripts/newlinux.makefile ' | |
| alias newtest='make --makefile $REPOS/usable-misc/scripts/newlinux.makefile ' | |
| alias copysotp='echo CENSORED | steam-otp | tail --lines=1 | xclip -sel c ' | |
| alias pwsh='dk r -it mcr.microsoft.com/powershell ' # or ps1 | |
| alias path='echo $PATH ' | |
| alias fullup='sudo dnf check-update -y || sudo dnf upgrade -y' | |
| alias myip='curl -s http://ip-api.com/line/ ' | |
| alias handbrake-cli='HandBrakeCLI ' | |
| alias fpush='git add . && git \commit && git pull && git push' | |
| alias fcmmt='git add . && git \commit' | |
| alias pasf='pass git pull && pass git push ' | |
| alias from_built='cd ~/.apps/from_built ' | |
| alias conn-idena-node='ssh -L CENSORED' | |
| # No forgot flags | |
| alias add-to-docker='s usermod -a -G docker ' | |
| alias gpg-encrypt='gpg -e -a -r ' | |
| alias gpg-decrypt='gpg -d -o ' | |
| alias gpg-export-public='gpg --export -a ' | |
| alias gpg-export-secret='gpg --export-secret-key -a ' | |
| alias gpg-import='gpg --import ' | |
| alias gpg-secret='gpg -K ' | |
| alias gpg-public='gpg -k ' | |
| alias gpg-new='gpg --full-gen-key && echo "keyid-format 0xlong | |
| throw-keyids | |
| no-emit-version | |
| no-comments" > ~/.gnupg/gpg.conf ' | |
| # For Powershell compatiblity | |
| alias cls='clear ' | |
| ## One word style: | |
| # Git | |
| #alias gs='git status' | |
| #alias ga='git add' | |
| #alias ga.='git add .' | |
| #alias gch='git checkout' | |
| #alias gchb='git checkout -b' | |
| #alias gc='git commit' | |
| #alias gcm='git commit -m' | |
| #alias gb='git branch' | |
| # Docker | |
| #alias di='docker images' | |
| #alias dr='docker run' | |
| #alias db='docker build' | |
| #alias dp='docker ps' | |
| # Golang | |
| #alias gog='go get' | |
| #alias gor='go run' | |
| #alias gob='go build' | |
| # Python | |
| #alias pyr='python' | |
| #alias pipi='pip install' | |
| ## Fast style: | |
| #In fast style aliases need space at contiue to use 2 or more aliases in 1 command in terminal [example: alias pm='eopkg' alias i='install', now command "pm i" fails with output: "eopkg: i: command not found" but when we add space to pm alias: alias pm='eopkg ', "pm i" command now works as "eopkg install"] | |
| # Single word means universal alias, double word means utility name alias. Example g=get gg=git, but only then short utility alias havent different names | |
| alias gg='git ' # or gt, but too long, and single 'g' is useless | |
| alias dk='docker ' #auto sudo # or dkr # or dd | |
| alias s='sudo ' # you can comment this and use single 's' if you're using doas | |
| alias d='doas ' # you can comment this and use single 'd' if you're using sudo | |
| alias ii='init ' # InIt # or in | |
| alias pas='pass ' # or ps, but so looks like 'docker ps' | |
| alias stts='status ' # or stt or stts, i love 'stts' because this is unique | |
| alias stg='storage ' # or strg | |
| alias r='run ' | |
| alias v='version ' | |
| alias i='install ' | |
| alias uin='uninstall ' # (UnINstall) or unn (UNiNstall) or unin (UNINstall) or ull | |
| alias p='push ' # because P is useless | |
| alias pp='pull ' | |
| alias a='add ' | |
| alias a.='add . ' | |
| alias al='all ' | |
| alias ans='ansible ' | |
| alias cl='clone ' | |
| alias vg='vagrant ' | |
| alias sr='search ' | |
| alias mk='make ' | |
| alias cm='cmake ' | |
| alias rt='remote ' # or rmt | |
| alias fh='fetch ' | |
| alias imgs='images ' | |
| alias bsh='bash ' | |
| alias rcl='rclone ' | |
| alias rgz='recognize ' | |
| alias exp='export ' | |
| alias imp='import ' | |
| alias excl='exclude ' | |
| alias incl='include ' | |
| alias fr='fork ' # or fk | |
| alias crt='create ' | |
| alias hl='help ' | |
| alias hsh='hash ' | |
| alias nd='node ' | |
| alias dn='deno ' | |
| alias n='new ' | |
| alias rstr='restore ' | |
| alias sr='search ' | |
| alias st='sort ' | |
| alias bld='build ' | |
| alias blk='block ' | |
| alias brk='break ' | |
| alias clr='clear ' | |
| alias ugz='gunzip ' | |
| alias ubz2='bunzip2 ' | |
| alias utxz='tar -xJvf ' | |
| alias utbz2='tar -xjvf ' | |
| alias utgz='tar -xzvf ' | |
| alias del='delete ' | |
| alias ug='upgrade ' # or upg | |
| alias up='update ' # or upd | |
| alias pkg='apt ' # Write here your distribution package manager | |
| alias eh='echo ' # or ee | |
| alias py='python ' | |
| alias dbg='debug ' | |
| alias orn='origin ' | |
| alias brn='branch ' | |
| alias cfg='config ' | |
| alias ins='insert ' | |
| alias vlm='volume ' | |
| alias rr='ranger ' | |
| alias std='standart ' | |
| alias cg='cargo ' | |
| alias cu='curl ' | |
| alias c='cut ' | |
| alias sw='show ' | |
| alias ctab='crontab ' | |
| alias ctb='crontab ' | |
| alias cmmt='commit ' | |
| alias src='source ' | |
| alias h='history ' | |
| alias hh='htop ' | |
| alias ff='find ' | |
| alias bwr='bower ' # or bw | |
| alias g='get ' | |
| alias t='touch ' | |
| alias e='exit ' | |
| alias reb='reboot ' | |
| alias se='service ' | |
| alias unz='unzip ' | |
| alias qm='qmake ' | |
| alias q='exit ' | |
| alias tre='tree ' | |
| alias yn='yarn ' | |
| alias whh='which ' | |
| alias wee='weechat ' | |
| alias tt='taotao ' | |
| alias wg='wego ' | |
| alias sld='selenoid ' | |
| alias ere='erase ' | |
| alias m='man ' | |
| alias et='edit ' | |
| # Blacklist - commands for which it makes no sense to add shorter aliases | |
| #go | |
| #cd | |
| #ls | |
| #pip | |
| #mkdir | |
| #rmdir | |
| #rm | |
| #in | |
| #out | |
| #npm | |
| #vim | |
| #mod | |
| # | |
| # sudo = sudo [Debug for: "sudo %any_alias%" command with output: sudo: %any_alias% command not found] | |
| # Here there no commands what is in Root Commands Improvements. | |
| alias bower='bower ' | |
| alias pass='pass ' | |
| alias npm='npm ' | |
| alias pip3='pip3 ' | |
| alias bash='bash ' | |
| alias fish='fish ' | |
| alias python3='python3 ' | |
| alias go='go ' | |
| alias vagrant='vagrant ' | |
| alias git='git ' | |
| alias make='make ' | |
| alias cmake='cmake ' | |
| alias rclone='rclone ' | |
| alias snap='snap ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment