config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit f576e338e6d9fdf21423b6b6a8a252f3f767a4ed
parent ee2208038e6010f26c02f4714409ad52e37f61d2
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Sat, 21 Nov 2020 22:51:13 -0800

Remove `su' alias and add `dsu' alias

I rarely use su(1) but it isn't pleasent to type ``command'' before it
and I rarely use sfeed_update either.

Add `dsu' alias which runs su(1) with doas(1). This seems silly but
means that, if permitted as root, you only ever need to type your own
password rather than remembering foo, bar and root's passwords.

Diffstat:
Mmodules/aliases/.config/aliases/main | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/aliases/.config/aliases/main b/modules/aliases/.config/aliases/main @@ -19,6 +19,7 @@ include openbsd alias ap="apropos" alias apf="apropos -f" alias doas="doas -- " +alias dsu="doas su" alias fls="find . -maxdepth 1" alias get="curl -sSLO" alias gmake="gmake -j`ncpu`" @@ -32,7 +33,6 @@ alias mtime="stat -t'$DATETIME_FMT' -f%Sm%t%N" alias pkill="pkill -x" alias sed="sed -E" alias self="reload" -alias su="sfeed_update" alias vim="vim -p" alias f="$EDITOR"