Updated zshrc

This commit is contained in:
Guillem George 2025-10-28 19:28:36 +01:00
parent 71f2b38a0d
commit 852427a8ee

4
.zshrc
View file

@ -84,13 +84,13 @@ alias cl='clear'
alias hyprcfg='$EDITOR ~/.config/hypr/' alias hyprcfg='$EDITOR ~/.config/hypr/'
alias zcfg='$EDITOR ~/.zshrc' alias zcfg='$EDITOR ~/.zshrc'
alias icat='kitten icat' alias icat='kitten icat'
# Power management
alias power-draw="cat /sys/class/power_supply/BAT1/current_now /sys/class/power_supply/BAT1/voltage_now | xargs | awk '{print \$1*\$2/1e12 \" W\"}\'"
# Override some default commands with more practical alternatives # Override some default commands with more practical alternatives
# Note: default ls command is still accessible with '\ls' # Note: default ls command is still accessible with '\ls'
alias ls='eza --icons=automatic --tree --level=1 --follow-symlinks --no-quotes ' alias ls='eza --icons=automatic --tree --level=1 --follow-symlinks --no-quotes '
alias lsa='ls -a' alias lsa='ls -a'
alias lsl='eza --icons=automatic --long --header --group -M' alias lsl='eza --icons=automatic --long --header --group -M'
alias ll='lsl'
alias lla='lsl -a'
alias tree='ls --level=3' alias tree='ls --level=3'
# Random stuff # Random stuff
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'" alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"