28 lines
1.4 KiB
Bash
28 lines
1.4 KiB
Bash
# aliases.zsh
|
|
|
|
alias auao="sudo apt update && apt list --upgradable"
|
|
alias aupg="sudo apt upgrade"
|
|
alias aurup="sudo aura -Akua"
|
|
alias bubc="brew upgrade && brew cleanup"
|
|
alias bubo="brew update && brew outdated"
|
|
test $PLATFORM = 'osx' && alias brewcurl="/usr/local/opt/curl/bin/curl --cacert /usr/local/etc/openssl@1.1/cert.pem"
|
|
test $PLATFORM = 'osx-m1' && alias brewcurl="/opt/homebrew/opt/curl/bin/curl"
|
|
test $PLATFORM = 'osx' && alias brewssl="/usr/local/opt/openssl@1.1/bin/openssl"
|
|
alias ga="git add"
|
|
alias gf="git fetch --all; git fetch --tags"
|
|
alias gs="git status"
|
|
alias gb="git rev-parse --abbrev-ref HEAD"
|
|
alias irc="ssh jmb -t '. ~/.zshrc; tmux attach -t irc'"
|
|
test $PLATFORM = 'linux' && alias ls="ls -F --color=always"
|
|
test $PLATFORM = 'osx' && alias ls="ls -FG"
|
|
test $PLATFORM = 'osx-m1' && alias ls="ls -FG"
|
|
test $PLATFORM = 'linux' && alias pipup="pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 sudo pip install -U"
|
|
test $PLATFORM = 'osx' && alias pipup="pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U"
|
|
test $PLATFORM = 'osx-m1' && alias pipup="pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U"
|
|
alias rtor="tmux attach -t rtor"
|
|
alias startace="acestreamengine --client-console --upload-limit 0 --download-limit 0"
|
|
alias up="sudo pacman -Syu"
|
|
alias aws-whoami="aws sts get-caller-identity"
|
|
alias als="exa --oneline --long --classify --icons --header"
|
|
|
|
alias testing="pwd"
|