dotfiles/dot_config/bash/aliases.sh

14 lines
403 B
Bash

if which exa > /dev/null 2>&1 ; then
alias ls="exa --icons -F -g"
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)"'