Improve aliases for cURL
This commit is contained in:
parent
248f4be293
commit
abc6309882
2 changed files with 8 additions and 3 deletions
|
@ -5,8 +5,9 @@ alias aupg="sudo apt upgrade"
|
|||
alias aurup="sudo aura -Akua"
|
||||
alias bubc="brew upgrade && brew cleanup"
|
||||
alias bubo="brew update && brew outdated"
|
||||
alias brewcurl="/usr/local/opt/curl/bin/curl --cacert /usr/local/etc/openssl@1.1/cert.pem"
|
||||
alias brewssl="/usr/local/opt/openssl@1.1/bin/openssl"
|
||||
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"
|
||||
|
@ -23,3 +24,5 @@ alias startace="acestreamengine --client-console --upload-limit 0 --download-lim
|
|||
alias up="sudo pacman -Syu"
|
||||
alias aws-whoami="aws sts get-caller-identity"
|
||||
alias als="exa --oneline --long --classify --icons --header"
|
||||
|
||||
alias testing="pwd"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
export PLATFORM="unkown"
|
||||
|
||||
osname=$(uname -s)
|
||||
cputpye=£(uname -m)
|
||||
cputype=$(uname -m)
|
||||
|
||||
if [[ "$osname" == 'Linux' ]]; then
|
||||
export PLATFORM="linux"
|
||||
elif [[ "$osname" == 'Darwin' ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue