diff --git a/.zsh/aliases.zsh b/.zsh/aliases.zsh index 553e2d6..8bafd84 100644 --- a/.zsh/aliases.zsh +++ b/.zsh/aliases.zsh @@ -20,12 +20,15 @@ alias \ gres='git restore' \ gs='git status' \ gst='git stash' \ - hx='helix' \ - sudo='doas' + hx='helix' alias history='fc -l 0' alias ytdlp='yt-dlp `xclip -o`' alias 'sudo -i'='sudo su -' alias 'cls'='clear' alias 'rsyncA'='rsync -azzP' -alias wgetx='wget `xclip -o`' \ No newline at end of file +alias wgetx='wget `xclip -o`' + +if iscmd doas; then + alias sudo='doas' +fi \ No newline at end of file