commit 467233a3ca19217394bfbf8e5c3af2da9efc4cd1 parent 84ec875b661c8010df2fdcf728aaf12e0380a80a Author: Luxferre <lux@ferre> Date: Mon, 19 Feb 2024 13:24:32 +0200 moved aliases to .aliases and added some new ones Diffstat:
A | .aliases | | | 26 | ++++++++++++++++++++++++++ |
1 file changed, 26 insertions(+), 0 deletions(-)
diff --git a/.aliases b/.aliases @@ -0,0 +1,26 @@ +# shell-independent alias collection by Luxferre + +# abduco shortcuts +alias ab=abduco +alias aba='abduco -A' + +# use on Alpine/OpenBSD +alias sudo=doas + +# use elsewhere +# alias doas=sudo + +# ed maxout (requires rlwrap) +alias ee='rlwrap ed -p:' +alias eer='doas rlwrap ed -p:' + +# one-line notetaking (in twtxt format) +alias n='echo -e "$(date -Im)\t$*" >> ~/n' + +# use on framebuffer-based systems +(requires mpv and pipe-viewer) +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' + +# twitch-chat-cli helper +alias twitchat='$HOME/twitch-chat-cli --accounts "$(<$HOME/twitch_secret)" --channels'