Update bash aliases

master
Hektor Misplon 2023-08-05 18:08:48 +02:00
parent 17b1f076fa
commit 5d15dcb287
4 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,5 @@
# vim: set ft=bash :
# Alias aliases # Alias aliases
alias al=alias alias al=alias
alias alf="alias | fzf" alias alf="alias | fzf"
@ -57,7 +59,7 @@ alias z='zathura --fork'
alias f='fzf' alias f='fzf'
alias fm='pcmanfm &>/dev/null &' alias fm='pcmanfm &>/dev/null &'
alias xev='xev | grep -A2 ButtonPress' # Ignore mouse movements alias xev='xev | grep -A2 ButtonPress' # Ignore mouse movements
alias conda='micromamba' alias mm='micromamba'
# Languages # Languages
alias js="node" alias js="node"
@ -70,3 +72,4 @@ alias r="R"
alias azerty="setxkbmap be" alias azerty="setxkbmap be"
alias qwerty="setxkbmap us" alias qwerty="setxkbmap us"
alias cole="setxkbmap us -variant colemak"

View File

@ -1,3 +1,7 @@
# vim: set ft=bash :
source "$HOME/.bash_aliases/dualboot" source "$HOME/.bash_aliases/dualboot"
alias lm='ddcutil setvcp 10' alias lm='ddcutil setvcp 10'
alias cuda-available='python -c "import torch; print(\"CUDA enabled:\", torch.cuda.is_available());"'

View File

@ -1,3 +1,5 @@
# vim: set ft=bash :
reboot-to-windows () reboot-to-windows ()
{ {
# Check if grub is installed by checking if the command exists, if it does # Check if grub is installed by checking if the command exists, if it does

View File

@ -1,3 +1,5 @@
# vim: set ft=bash :
source "$HOME/.bash_aliases/dualboot" source "$HOME/.bash_aliases/dualboot"
alias lm='xbacklight -set' alias lm='xbacklight -set'