pointfichiers/shell/bash/.bash_aliases

28 lines
670 B
Bash
Raw Normal View History

2023-09-28 10:52:20 +02:00
alias ls='ls --color=auto'
alias jaaj="jaaj | lolcat"
2023-11-04 22:47:22 +01:00
alias uwu="uwu | lolcat"
2023-09-28 10:52:20 +02:00
alias esp-idf-setup=". ~/.local/lib/esp-idf/export.sh"
alias steam="steam-runtime"
2023-09-28 10:52:20 +02:00
# Git
alias ga="git add"
alias gc="git commit"
alias gp="git push"
alias gpl="git pull"
2023-10-10 11:12:03 +02:00
2023-10-23 09:32:17 +02:00
# Generic stuff
alias ls="ls --color=auto"
alias ip="ip --color=auto"
# 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 $3 }' | sed 's/^uu-//' | grep -v '^\[$' | xargs); do
alias "${i}=uu-${i}"
2023-10-23 09:32:17 +02:00
done
alias ls="uu-ls --color=auto"
fi
fi