update .bashrc
This commit is contained in:
parent
785dc1b36e
commit
cda8641815
2 changed files with 11 additions and 5 deletions
14
.bashrc
14
.bashrc
|
|
@ -28,11 +28,16 @@ alias olagem='sudo /root/.cargo/bin/olagem'
|
||||||
alias tartar='sudo tar -xvzf'
|
alias tartar='sudo tar -xvzf'
|
||||||
alias zz="history | fzf | sed 's/^[ \t]*[0-9]*[ \t]*//' | bash"
|
alias zz="history | fzf | sed 's/^[ \t]*[0-9]*[ \t]*//' | bash"
|
||||||
alias update='sudo pacman -Syu'
|
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 tp='trash-put'
|
||||||
alias power='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
|
alias power='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
|
||||||
alias space='df -h /'
|
alias space='df -h /'
|
||||||
alias cache='sudo pacman -Sc && docker system prune -a --volumes && flush'
|
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 die='shutdown -h now'
|
||||||
alias protu='ls -la -h'
|
alias protu='ls -la -h'
|
||||||
alias ll='ls -a'
|
alias ll='ls -a'
|
||||||
|
|
@ -45,7 +50,7 @@ alias sc='syncthing --browser-only'
|
||||||
alias gp='sudo -E gparted'
|
alias gp='sudo -E gparted'
|
||||||
alias ddd='sudo dd bs=4M status=progress oflag=sync'
|
alias ddd='sudo dd bs=4M status=progress oflag=sync'
|
||||||
ff() {
|
ff() {
|
||||||
firefox "$@" &
|
firefox "$@" & disown
|
||||||
}
|
}
|
||||||
function search {
|
function search {
|
||||||
if [ $# -ne 2 ]; then
|
if [ $# -ne 2 ]; then
|
||||||
|
|
@ -57,8 +62,9 @@ function search {
|
||||||
fi
|
fi
|
||||||
sudo find "$folder" -name "$wanted" 2>/dev/null
|
sudo find "$folder" -name "$wanted" 2>/dev/null
|
||||||
}
|
}
|
||||||
alias search='search'
|
where() {
|
||||||
alias where='sudo find / -name 2>/dev/null'
|
sudo find / -name "$1" 2>/dev/null
|
||||||
|
}
|
||||||
alias t='tree -d'
|
alias t='tree -d'
|
||||||
setGithub() {
|
setGithub() {
|
||||||
if [ $# -lt 1 ]; then
|
if [ $# -lt 1 ]; then
|
||||||
|
|
|
||||||
|
|
@ -250,7 +250,7 @@ bind = $mainMod, Return, exec, $terminal
|
||||||
bind = $mainMod, Q, killactive,
|
bind = $mainMod, Q, killactive,
|
||||||
bind = $mainMod, X, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
|
bind = $mainMod, X, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
|
||||||
bind = $mainMod, E, exec, $fileManager
|
bind = $mainMod, E, exec, $fileManager
|
||||||
bind = $mainMod, T, exec, typora
|
bind = $mainMod, T, exec, thunderbird
|
||||||
bind = $mainMod, G, exec, steam
|
bind = $mainMod, G, exec, steam
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, $menu
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue