pointfichiers/shell/bash/.bash_aliases
2024-06-01 00:37:12 +02:00

35 lines
928 B
Bash

alias jaaj="jaaj | dotacat"
alias uwu="uwu | dotacat"
alias esp-idf-setup=". ~/.local/lib/esp-idf/export.sh"
alias steam="steam-runtime"
# Git
alias gs="git status"
alias ga="git add -p"
alias gc="git commit"
alias gp="git push"
alias gpl="git pull"
# uutils-coreutils aliases
if command -v pacman &> /dev/null; then
if pacman -Qi uutils-coreutils &> /dev/null; then
for i in $(pacman -Ql uutils-coreutils | cut -d \ -f 2- | grep -E '^/usr/bin/.+' | awk -F / '{ print $4 }' | sed 's/^uu-//' | grep -v '^\[$' | xargs); do
alias "${i}=uu-${i}"
done
alias ls="uu-ls --color=auto"
fi
fi
# Generic stuff
alias ls="ls --color=auto"
alias ip="ip --color=auto"
alias l="ls -alh --color=auto"
alias tld="tree -L 2"
alias mnt-s3="s3fs public ${S3_MOUNTPOINT} -o passwd_file=${HOME}/.passwd-s3fs -o host=${S3_HOST} -o endpoint=${S3_ENDPOINT}"
# Termux related
if command -v ssha &> /dev/null; then
alias ssh="ssha"
fi