Last active
April 27, 2022 19:39
-
-
Save littletsu/1bf57c22bd2256ec960cd5e69c334dad to your computer and use it in GitHub Desktop.
personal zshrc aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias sudo='doas' | |
alias sudoedit='doas rnano' | |
# only for arch repos | |
alias mirror='doas reflector --protocol https --latest 50 --number 20 --sort rate --save /etc/pacman.d/mirrorlist' | |
# Enable wayland for firefox | |
#export MOZ_ENABLE_WAYLAND=1 | |
alias pls='doas $(fc -ln -1)' | |
# fix npm update | |
alias fixnpm='doas pacman -S npm --overwrite "/usr/lib/node_modules/npm/*"' | |
alias fixtime='doas ntpd -qg && doas hwclock -w' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment