commit cb5b35b86f66ad924709914747cd3c9bca6c8678
Author: Luxferre <lux@ferre>
Date: Tue, 30 Jan 2024 10:16:44 +0200
first upload
Diffstat:
5 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/.exrc b/.exrc
@@ -0,0 +1,5 @@
+set autoindent
+set tabstop=2
+set expandtab
+set ignorecase
+set showmatch
diff --git a/.kshrc b/.kshrc
@@ -0,0 +1,10 @@
+set -o emacs
+HISTFILE="$HOME/.ksh_history"
+HISTSIZE=5000
+alias ab=abduco
+alias aba='abduco -A'
+alias sudo=doas
+alias fbstream='mpv --vo=drm --ytdl-format="bestvideo[height<=?768][vcodec!=vp9]+bestaudio/best"'
+alias yt='pipe-viewer --player=mpv --append-arg="--vo=drm" -7'
+alias twitchat='$HOME/twitch-chat-cli --accounts "$(<$HOME/twitch_secret)" --channels'
+alias ee='rlwrap ed -p:'
diff --git a/.profile b/.profile
@@ -0,0 +1,7 @@
+export EDITOR='rlwrap ed -p:'
+export VISUAL=vim
+export PAGER=most
+export SDL_VIDEODRIVER=kmsdrm
+export PATH HOME TERM
+export PS1="[\u@\h \W]\$ "
+export ENV=$HOME/.kshrc
diff --git a/.vimrc b/.vimrc
@@ -0,0 +1,16 @@
+syntax off
+set autoindent
+set copyindent
+set noswapfile
+set nobackup
+set tabstop=2
+set shiftwidth=2
+set softtabstop=2
+set expandtab
+set wrap
+set ignorecase
+set ruler
+set magic
+set scrolloff=4
+set smartindent
+set shiftround
diff --git a/README b/README
@@ -0,0 +1,14 @@
+Dotfiles
+--------
+
+This repo contains some of my main dotfiles required for living
+in a purely terminal environment. They depend on the following
+basic software installed: oksh, opendoas, ed, vi/vim, mpv, abduco,
+most, rlwrap, pipe-viewer, twitch-chat-cli.
+
+Note: most was chosen as the $PAGER for additional compatibility
+with programs like sacc to ensure correct text document scrolling.
+The .exrc file is provided for usage with BusyBox-based systems
+with no vim or even ed, only vi.
+
+The dotfiles are released into public domain.