Created
April 27, 2023 07:53
-
-
Save petskratt/d4714fda045716666afe9e15d81531a5 to your computer and use it in GitHub Desktop.
aliases à la Zone.eu
This file contains 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
#!/usr/bin/env bash | |
# should go into .profile | |
# from zone.eu shared server conf, with changes for MacOS | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias ....='cd ../../..' | |
alias cd..='cd ..' | |
alias cd...='cd ../..' | |
alias cd....='cd ../../..' | |
alias cgrep='/bin/grep --color=always' | |
alias cip='/usr/bin/ip -c' | |
alias cip-sa='/usr/bin/ip -c -s address show' | |
alias cip-sl='/usr/bin/ip -c -s link show' | |
alias cless='/usr/bin/less -R' | |
alias cls='/usr/bin/clear' | |
alias cp='/bin/cp -i' | |
alias dc='cd' | |
alias dig6='/usr/bin/dig AAAA' | |
alias dig6-short='dig-short AAAA' | |
alias dl='/bin/ls --color=auto -ld --time-style=long-iso' | |
alias el='/usr/bin/exa -alghH --color=always --time-style=long-iso --octal-permissions' | |
alias end='exit' | |
alias exc='/bin/grep -i -v -E --color=auto' | |
alias inc='/bin/grep -i -E --color=auto' | |
alias grep-php='/bin/grep -E --color=auto '\''\([0-9A-F]{8}\-[0-9]'\''' | |
alias grep-phpslow='/bin/grep -E --color=auto '\''\([0-9A-F]{8}\-([2-9]|[0-9]{2,})'\''' | |
alias grep-phpveryslow='/bin/grep -E --color=auto '\''\([0-9A-F]{8}\-([0-9]{2,})'\''' | |
alias l='/bin/ls --color=auto -lahF' | |
alias la='/bin/ls --color=always -lahF' | |
alias last='/usr/bin/last --time-format iso' | |
alias lf='/bin/ls --color=auto -lhF' | |
alias ll='/bin/ls --color=auto -lhF' | |
alias mv='/bin/mv -i' | |
alias pc='/usr/bin/bat --wrap never --color always -l python -n' | |
alias pl='/bin/pwd && /bin/ls --color=auto -lahF --time-style=long-iso' | |
alias rm='/bin/rm -i' | |
alias tailf='/usr/bin/tail -n 100 -f' | |
alias top='/usr/bin/top -s -S -c' | |
alias top-threads='/usr/bin/top -s -S -c -H' | |
alias uh='unset HISTFILE' | |
alias ut='unset TMOUT' | |
alias wget-ic='/usr/bin/wget --no-check-certificate' | |
alias whereis='/usr/bin/which' | |
alias which='alias | which --tty-only --read-alias --show-dot --show-tilde' | |
alias whois-arin='/usr/bin/whois -h whois.arin.net' | |
alias whois-eis='/usr/bin/whois -h whois.tld.ee' | |
alias whois-ripe='/usr/bin/whois -h whois.ripe.net' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment