commit 84ec875b661c8010df2fdcf728aaf12e0380a80a
parent dad3bb1b95fa4a73194d0558ff487c8ddae9aad7
Author: Luxferre <lux@ferre>
Date: Mon, 19 Feb 2024 13:23:54 +0200
moved aliases to .aliases and added some new ones
Diffstat:
2 files changed, 16 insertions(+), 19 deletions(-)
diff --git a/.kshrc b/.kshrc
@@ -1,11 +1,4 @@
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:'
-alias eer='doas rlwrap ed -p:'
+. .aliases
diff --git a/README b/README
@@ -1,19 +1,23 @@
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.
+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 and
+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.
+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 .inputrc file contains a lot of general UX improvements as well as
-some ed-specific settings. Of course you need to use rlwrap with ed
-for them to take effect.
+The .inputrc file contains a lot of general UX improvements as well as some
+ed-specific settings. Of course you need to use rlwrap with ed for them to
+take effect.
+
+The .aliases file contains useful command aliases to be sourced from your
+shell rc file (.bashrc, .kshrc, or .profile if you're using busybox). All
+aliases there are POSIX-compliant.
Some more files will be added in the future.