void- enter the void 🪐 |
git clone git://git.acid.vegas/archlinux.git |
Log | Files | Refs | Archive |
bash_aliases (2141B)
1 #!/bin/sh 2 # .bash_aliases - developed by acidvegas (https://git.acid.vegas/void) 3 4 # colors 5 alias diff='diff --color=auto' 6 alias dmesg='dmesg --color=auto' 7 alias dir='dir --color=auto' 8 alias egrep='egrep --color=auto' 9 alias grep='grep --color=auto' 10 alias fgrep='fgrep --color=auto' 11 alias ip='ip -color=auto' 12 alias ls='ls --color=auto' 13 alias ncdu='ncdu --color dark -rr' 14 alias tree='tree -C' 15 alias vdir='vdir --color=auto' 16 17 # rewrites 18 alias cp='cp -i' 19 alias exa='exa -aghl --git' 20 alias mv='mv -i' 21 alias pip='pip3' 22 alias progress='progress -m' 23 alias python='python3' 24 alias vlock='vlock -a' 25 alias wget='wget -q --show-progress' 26 27 # git 28 alias gitfix='git push -u origin HEAD' 29 alias rmcommits="git checkout --orphan latest_branch && git add -A && git commit -S -am \"Initial commit\" && git branch -D master && git branch -m master && git push -f origin master" 30 alias nrmcommits="git checkout --orphan latest_branch && git add -A && git commit -S -am \"Initial commit\" && git branch -D main && git branch -m main && git push -f origin main" 31 32 # random 33 alias ..="cd ../" 34 alias dropkey="dropbearkey -y -f .dropbear/key | head -n 2 | tail -n 1" 35 alias dump='setterm -dump 1 -file screen.dump' 36 alias fzfind='grep --line-buffered --color=never -r "" * | fzf' 37 alias newnym='echo -e "AUTHENTICATE \"CHANGEME\"\r\nSIGNAL NEWNYM\r\nQUIT" | nc 127.0.0.1 9051' 38 alias mdcat='glow' 39 alias mkgz='tar -cvzf' 40 alias myip='curl 4.icanhazip.com && curl 6.icanhazip.com' 41 alias pubkey='ssh-keygen -y -f ~/.ssh/key' 42 alias pydebug='python -m trace -t' 43 alias torch='curl -s https://check.torproject.org | grep "Congratulations"' 44 alias y2m='youtube-dl --extract-audio --audio-format mp3 --audio-quality 0 -o "%(title)s.%(ext)s" --no-cache-dir --no-call-home' 45 alias up='sudo mount -o remount,rw /boot && sudo xbps-install -Su && sudo mount -o remount,ro /boot' 46 47 # scripts 48 alias dbc='~/.local/bin/scripts/dbc' 49 alias gitremote='~/.local/bin/scripts/gitremote' 50 alias irc2ansi='python3 ~/.local/bin/scripts/irc2ansi.py' 51 alias mutag='~/.local/bin/scripts/mutag' 52 alias pass='~/.local/bin/scripts/pass' 53 alias shotz='~/.local/bin/scripts/shotz' 54 alias todo='~/.local/bin/scripts/todo'