2022-05-10 13:58:50 -04:00
|
|
|
if which exa > /dev/null 2>&1 ; then
|
2023-01-05 11:28:00 -05:00
|
|
|
if [ -z "$SSH_CLIENT" ] ; then
|
|
|
|
alias ls="exa --icons -F -g"
|
|
|
|
else
|
|
|
|
alias ls="exa --no-icons -F -g"
|
|
|
|
fi
|
2022-05-10 13:58:50 -04:00
|
|
|
else
|
|
|
|
alias ls="ls --color=auto"
|
|
|
|
fi
|
|
|
|
alias grep='grep --colour=auto'
|
|
|
|
alias egrep='egrep --colour=auto'
|
|
|
|
alias fgrep='fgrep --colour=auto'
|
|
|
|
|
|
|
|
shopt -s expand_aliases
|
|
|
|
|
|
|
|
alias m4b-tool='docker run -it --rm -u $(id -u):$(id -g) -v "$(pwd)":/mnt m4b-tool'
|
|
|
|
alias gcurl='curl --header "Authorization: Bearer $(gcloud auth print-identity-token)"'
|