diff options
author | Arnold Sommerfeld <sommerfeld@strisemarx.com> | 2023-11-16 22:53:16 +0000 |
---|---|---|
committer | Arnold Sommerfeld <sommerfeld@strisemarx.com> | 2023-11-16 22:53:16 +0000 |
commit | 0763d1267f733f9a9e30ce3541c391d74d575180 (patch) | |
tree | a87069df3bd3d7ee0b7557de65ab583946f54755 | |
parent | 30d1fe186f1a58bfab1f53bb0882f1c4bcc05b69 (diff) | |
download | dotfiles-0763d1267f733f9a9e30ce3541c391d74d575180.tar.gz dotfiles-0763d1267f733f9a9e30ce3541c391d74d575180.tar.bz2 dotfiles-0763d1267f733f9a9e30ce3541c391d74d575180.zip |
Use doas
-rw-r--r-- | home/.config/paru/paru.conf | 2 | ||||
-rw-r--r-- | home/.config/sh/aliases | 15 | ||||
-rw-r--r-- | meta/base/PKGBUILD | 3 |
3 files changed, 10 insertions, 10 deletions
diff --git a/home/.config/paru/paru.conf b/home/.config/paru/paru.conf index fc0f9a9..3b6ec22 100644 --- a/home/.config/paru/paru.conf +++ b/home/.config/paru/paru.conf @@ -14,7 +14,7 @@ Provides DevelSuffixes = -git -cvs -svn -bzr -darcs -always # BottomUp RemoveMake -SudoLoop +#SudoLoop #UseAsk CombinedUpgrade BatchInstall diff --git a/home/.config/sh/aliases b/home/.config/sh/aliases index 042e6cb..76c75ec 100644 --- a/home/.config/sh/aliases +++ b/home/.config/sh/aliases @@ -8,8 +8,8 @@ whichkey() { xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }' } -alias sudo='sudo -v; sudo ' -alias sudoedit='sudo nvim' +alias sudo='doas' +alias sudoedit='doas nvim' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' @@ -24,12 +24,12 @@ alias ipa="ip -stats -details -human -color=auto address show" alias g='git' alias sys='systemctl' -alias ssys='sudo systemctl' +alias ssys='doas systemctl' alias sysu='systemctl --user' alias sst='systemctl status' -alias syse='sudo systemctl edit' +alias syse='doas systemctl edit' -alias gimme='sudo chown $USER:$(id -gn $USER)' +alias gimme='doas chown $USER:$(id -gn $USER)' alias free='free -h' alias ...='cd ../..' alias ....='cd ../../..' @@ -37,8 +37,7 @@ alias .....='cd ../../../..' alias mkdir='mkdir -p' alias du='du -h' alias df='df -h' -alias visudo='sudo visudo' -alias pacdiff='sudo pacdiff' +alias pacdiff='doas pacdiff' alias stow='stow -R --no-folding --adopt' alias pacopt='comm -13 <(pacman -Qqdt | sort) <(pacman -Qqdtt | sort)' @@ -49,7 +48,7 @@ alias xclip="xclip -selection clipboard -f" alias cpr='rsync --archive -hh --partial --info=stats1,progress2 --modify-window=1' alias mvr='rsync --archive -hh --partial --info=stats1,progress2 --modify-window=1 --remove-source-files' alias sub='subliminal download -l en' -alias ss='sudo ss -tupnl' +alias ss='doas ss -tupnl' alias c='clear' alias n='nvim' diff --git a/meta/base/PKGBUILD b/meta/base/PKGBUILD index 573e67d..a68002f 100644 --- a/meta/base/PKGBUILD +++ b/meta/base/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Arnold Sommerfeld <arch@strisemarx.com> pkgname=strisemarx-base -pkgver=28 +pkgver=29 pkgrel=1 pkgdesc="strisemarx's base metapackage" arch=('any') @@ -14,6 +14,7 @@ depends=( 'bat' 'cpupower' 'dashbinsh' + 'doas-sudo-shim' 'dog' 'duf' 'fd' |