update .bashrc

This commit is contained in:
Didictateur 2026-06-15 22:53:14 +02:00
parent 785dc1b36e
commit cda8641815
2 changed files with 11 additions and 5 deletions

14
.bashrc
View file

@ -28,11 +28,16 @@ alias olagem='sudo /root/.cargo/bin/olagem'
alias tartar='sudo tar -xvzf'
alias zz="history | fzf | sed 's/^[ \t]*[0-9]*[ \t]*//' | bash"
alias update='sudo pacman -Syu'
alias flush="sudo rm -rf ~/.local/share/Trash"
alias flush="rm -rf ~/.local/share/Trash/*"
alias tp='trash-put'
alias power='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
alias space='df -h /'
alias cache='sudo pacman -Sc && docker system prune -a --volumes && flush'
virus() {
sudo freshclam
local cible=${1:-.}
clamscan -r --bell "$cible"
}
alias die='shutdown -h now'
alias protu='ls -la -h'
alias ll='ls -a'
@ -45,7 +50,7 @@ alias sc='syncthing --browser-only'
alias gp='sudo -E gparted'
alias ddd='sudo dd bs=4M status=progress oflag=sync'
ff() {
firefox "$@" &
firefox "$@" & disown
}
function search {
if [ $# -ne 2 ]; then
@ -57,8 +62,9 @@ function search {
fi
sudo find "$folder" -name "$wanted" 2>/dev/null
}
alias search='search'
alias where='sudo find / -name 2>/dev/null'
where() {
sudo find / -name "$1" 2>/dev/null
}
alias t='tree -d'
setGithub() {
if [ $# -lt 1 ]; then

View file

@ -250,7 +250,7 @@ bind = $mainMod, Return, exec, $terminal
bind = $mainMod, Q, killactive,
bind = $mainMod, X, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, T, exec, typora
bind = $mainMod, T, exec, thunderbird
bind = $mainMod, G, exec, steam
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu