dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit fd1e5a62e954c994ca700df24693decdfa750749
parent 88ae3b92fea03bff5764d874945780ee2ea75b50
Author: hhvn <dev@haydenvh.com>
Date:   Sun, 28 Mar 2021 00:30:06 +0000

.c/k/alias: use doas, not sudo

Diffstat:
M.config/ksh/alias | 19++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/.config/ksh/alias b/.config/ksh/alias @@ -31,10 +31,10 @@ alias rr="\rm -rf" alias v="nvim" alias c="\clear" alias f="\find" -alias xi="sudo xbps-install" -alias xiu="sudo xbps-install -S; sudo xbps-install -yu xbps; sudo xbps-install -yu; sudo xbps-remove -Ooy; rm -rf ~/.cache ~/.mozilla ~/.local/share/webkitgtk ~/.viminfo ~/.wget-hsts ~/.lesshst ~/.sh_history ~/.python_history ~/.*history ~/.*hst* ~/.dbus ~/.w3m ~/.config/vimb/cookies.db; sudo vkpurge rm all" -alias xq="sudo xbps-query" -alias xr="sudo xbps-remove" +alias xi="doas xbps-install" +alias xiu="doas xbps-install -S; doas xbps-install -yu xbps; doas xbps-install -yu; doas xbps-remove -Ooy; rm -rf ~/.cache ~/.mozilla ~/.local/share/webkitgtk ~/.viminfo ~/.wget-hsts ~/.lesshst ~/.sh_history ~/.python_history ~/.*history ~/.*hst* ~/.dbus ~/.w3m ~/.config/vimb/cookies.db; doas vkpurge rm all" +alias xq="doas xbps-query" +alias xr="doas xbps-remove" alias wget="\wget --hsts-file="/dev/null"" alias pipes="\pipes -R -r 10000 -c 10 -c 11 -c 12 -c 13 -c 14 -c 15 -s 15" alias clock="tty-clock -s -c -C 7" @@ -42,15 +42,15 @@ alias ytdl="youtube-dl --add-metadata -ic" alias ytdla="youtube-dl --add-metadata -xic" alias map="telnet mapscii.me" alias irssi="\irssi --home ~/.config/irssi/" -alias zsleep="sudo zzz" -alias hibernate="sudo ZZZ" +alias zsleep="doas zzz" +alias hibernate="doas ZZZ" alias rmst="bash ~/.scripts/random/gnulinux.sh" alias vimb="\vimb --no-maximize" alias mkconfall="mkmailpass; mkalias" alias make="\make CC=tcc" alias dmake="doas make CC=tcc" alias nm="export ESCDELAY=5; neomutt" -alias maic="sudo make install clean" +alias maic="doas make install clean" alias homesync="rsync --port 22 --delete -azPe 'ssh -p 222' --exclude=general --exclude=.cache --exclude=.local/cache $HOME/ void@192.168.1.20:/home/void/homedir/" alias tmux="\tmux -f $HOME/.config/tmux/config" alias notes="vim ~/.local/notes" @@ -88,3 +88,8 @@ alias ..........="cd ../../../../../../../../.." alias ...........="cd ../../../../../../../../../.." alias ............="cd ../../../../../../../../../../.." alias bbs="nc bbs.hlirc.net 23" +matrix(){ + ssh matrix & >/dev/null + sleep 0.5 + xdotool type ./gomuks; xdotool key Return +}