commit aed1397cfbedfc988f1edbd9f486148a18e03853
parent 04b78ac7fc5c8302f35a6d8e320e77e92d236425
Author: regexghost <dev@regexghost.com>
Date: Fri, 7 Aug 2026 14:11:28 +0100
remove annoying .json files in download-vids.sh, and fix for as alias/overwrite, echo is different as running oksh not bash
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/dotfiles/.kshrc b/dotfiles/.kshrc
@@ -141,7 +141,7 @@ alias pip='~/.local/share/regexghost/.venv/bin/pip'
#### Start Substitute - Package_Manager
-alias as='echo "Use \as to run as command, disabled as too easy to type accidentally, creating unnecessary a.out file in home directory"'
+alias as='echo "Use \\\as to run as command, disabled as too easy to type accidentally, creating unnecessary a.out file in home directory"'
## Functions to basic programs
diff --git a/terminal-scripts/download-vids.sh b/terminal-scripts/download-vids.sh
@@ -51,3 +51,6 @@ $(cat /tmp/to_download)
EOF
[ -f /tmp/to_download ] && rm /tmp/to_download
+
+rm "$HOME/Videos/YouTube/Videos/*.json
+rm "$HOME/Videos/YouTube/Shorts/*.json