dotfiles/dot_config/bash/aliases.sh

14 lines
403 B
Bash
Raw Normal View History

2022-05-10 13:58:50 -04:00
if which exa > /dev/null 2>&1 ; then
2022-06-28 16:27:09 -04:00
alias ls="exa --icons -F -g"
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)"'