19 lines
639 B
Plaintext
19 lines
639 B
Plaintext
# Aliases
|
||
alias grep='grep --color=auto'
|
||
alias watch='watch '
|
||
alias cat=' bat '
|
||
alias curl='curlie'
|
||
alias tmp='cd $(mktemp -d)'
|
||
alias ls=' exa --group-directories-first --icons --header --git --ignore-glob=.git'
|
||
lt() {
|
||
DEPTH=$(echo $1 | grep "^[0-9]*$")
|
||
if [ "$DEPTH" = "" ]; then
|
||
DEPTH=2
|
||
else
|
||
shift
|
||
fi
|
||
ls -l --tree -L $DEPTH -I ".git|cache|log|logs|node_modules|vendor" $@
|
||
}
|
||
alias aws='docker run --rm -ti -v ~/.aws:/root/.aws -v $(pwd):/aws -e AWS_PROFILE -e AWS_DEFAULT_REGION -e AWS_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY amazon/aws-cli'
|
||
alias doggo='docker run --rm -it ghcr.io/mr-karan/doggo:latest'
|