commit aaf3f8e66435e37c20b151e2756d1166ff7c857c
parent 93f89f0b10c112d3e6bf48f8c4f1edf2a3e7dfd0
author: nathanael <nathanael@dalliard.ch>
date: Mon, 12 Jan 2026 01:36:30 +0000
s0: add alias al and yl
diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/s0/dotfiles/bin/open b/s0/dotfiles/bin/open
@@ -8,11 +8,11 @@ test -z "$str" && exit 1
case "$str" in
https://*youtube.com/*|https://youtu.be/*|https://*video*|https://x.com/*|https://rumble.com/*)
logger -t "$logger_tag" "downloading with yt-dlp: $str"
- yt-dlp -P ~/down </dev/null >/dev/null 2>&1 "$str" &
+ yt-dlp -P ~/down </dev/null >>/tmp/ytdlp.log 2>&1 "$str" &
;;
magnet:*|*.torrent)
logger -t "$logger_tag" "downloading with aria2c: $str"
- aria2c -d "$HOME/down" --seed-time=0 --file-allocation=none </dev/null >/dev/null 2>&1 "$str" &
+ aria2c -d "$HOME/down" --seed-time=0 --file-allocation=none </dev/null >>/tmp/aria2c.log 2>&1 "$str" &
;;
*.mp4|*.avi|*.mkv|*.webm|*.mov|*.ogv|*.m2a|*.mp3|*.m4a|*.flac|*.wav|*.aac|*.ogg)
logger -t "$logger_tag" "playing media with mpv: $str"
diff --git a/s0/dotfiles/shrc b/s0/dotfiles/shrc
@@ -15,12 +15,14 @@ s() { cd "$HOME/src/src/$(hostname -s)"; }
t() { grep '^o' ~/prv/todo; }
x() { nsxiv -ator "${1:-.}"; }
+alias al='tail -f /tmp/aria2c.log'
alias chat=~/.cargo/bin/gurk
alias ff='find . -type f -name'
alias ll='ls -hal'
alias ls='LC_COLLATE=C ls -F'
alias openrsync='openrsync --rsync-path=openrsync'
alias vi=$EDITOR
+alias yl='tail -f /tmp/ytdlp.log'
calc() { echo "$*" | bc -l; }
mless() { mshow "$@" | less -R; }