Update 2024-01-01 13:48 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2024-01-01 13:48:13 +01:00
parent 0f34c8ba99
commit bc71b393c6
3 changed files with 25 additions and 41 deletions

View File

@ -9,7 +9,8 @@
--disable-client-side-phishing-detection \
--disable-component-cloud-policy \
--disable-component-update \
--disable-chrome-browser-cloud-management \
--enable-chrome-browser-cloud-management \
--enable-chrome-browser-cloud \
--disable-crash-reporter \
--disable-device-discovery-notifications \
--disable-features=WebAssembly,AsmJsToWebAssembly,WebAssemblyStreaming \
@ -45,6 +46,7 @@
--force-dark-mode \
--hide-crash-restore-bubble \
--js-flags=--noexpose-wasm \
--noexpose-wasm \
--no-default-browser-check \
--no-proxy-server \
--no-recovery-component \

View File

@ -103,4 +103,8 @@ alias cups-config="firefox http://localhost:631"
alias bbs='ssh -t sdk@home.codevoid.de "LANG=de_DE.UTF-8 syncterm -iC localhost:2323"'
# mastodon
alias toot-sh="toot-wrapper sh@bsd.network"
alias toot-uug="toot-wrapper uugrn@chaos.social"
alias tuta="tut -u 'sh@bsd.network uugrn@chaos.social'"

58
.kshrc
View File

@ -58,19 +58,6 @@ LESS="-giJmR--tilde"
LESSHISTFILE="$HOME/.less-history"
export LESS LESSHISTFILE
########################################################################
# MODULE LOADER
########################################################################
load() { [ -f ~/.ksh/$1 ] && . ~/.ksh/$1; }
load environment.ksh
load aliases.ksh
load email.ksh
load porttools.ksh
load remind.ksh
load ytdl.ksh
########################################################################
# PROMPT (SIMPLE)
########################################################################
@ -86,41 +73,32 @@ stty -ixon -ixoff
set -o emacs
set bell-style none
alias sudo="doas"
alias su="doas su"
########################################################################
# MODULE LOADER
########################################################################
load() { [ -f ~/.ksh/$1 ] && . ~/.ksh/$1; }
load environment.ksh
load functions.ksh
load aliases.ksh
load email.ksh
load porttools.ksh
load remind.ksh
load ytdl.ksh
########################################################################
# ALIASES
########################################################################
# mastodon
alias toot-sh="toot-wrapper sh@bsd.network"
alias toot-uug="toot-wrapper uugrn@chaos.social"
tuta() {
tut -u "sh@bsd.network uugrn@chaos.social"
}
# system
alias sudo="doas"
alias su="doas su"
# packages
alias pkg_add="doas \pkg_add ${PKGOPT}"
alias pkg_delete="doas \pkg_delete ${PKGOPT}"
alias pkg_info="\pkg_info ${PKGOPT}"
pkg_reset() { pkg_delete -cIX $(</home/sdk/.pkglist); }
# servers
x() { printf '\033]0;$ ssh home.codevoid.de\007' \
&& ssh -t home.codevoid.de 'tmux -u attach || tmux -u'; }
t() { printf '\033]0;$ ssh tweety.home.codevoid.de\007' \
&& ssh -t -J home.codevoid.de \
tweety.home.codevoid.de 'tmux -u attach || tmux -u'; }
o() { printf '\033]0;$ ssh cvs.openbsd.org\007' \
&& ssh -t -J home.codevoid.de \
cvs.openbsd.org 'tmux -u attach || tmux -u'; }
scr() { [ -z "$1" ] && doas wsconsctl -n display.brightness \
|| doas wsconsctl display.brightness="$1"; }
# mount
alias mount_msdos="doas \mount_msdos -o nodev,nosuid,noatime -u 1000 -g 1000"