Major chhanges: daisy.source renamed to ld.source.

All files have been prettified by making sure we use 2-space indent.

agenda:
Instead of the hidden .tree file, a file created "More..." is made.
You can use (ex) "agenda --view "2026" to get a full list of files from that
year/date/day.
Additionally, minor fixes have been made.

clip:
You can now use "-c" to clear the clipbaord.
This commit is contained in:
Sam Hardeman 2026-05-05 15:42:34 +02:00
parent 056ab01ed4
commit ab730db2f7
14 changed files with 264 additions and 534 deletions

26
sshp
View file

@ -13,16 +13,18 @@ usage()
}
while [[ $# -gt 0 ]]; do
case "$1" in
-m)
if [[ -z "$2" ]]; then echo "Error: -m requires argument"; exit 1; fi
mounts+=("$2")
shift 2
;;
*)
ssh_args+=("$1")
shift
;;
case "$1" in
-m)
if [[ -z "$2" ]]; then
echo "Error: -m requires argument"; exit 1;
fi
mounts+=("$2")
shift 2
;;
*)
ssh_args+=("$1")
shift
;;
esac
done
@ -48,9 +50,9 @@ done
remote_script="
if ! command -v sshfs >/dev/null 2>&1; then
echo 'WARNING: \"sshfs\" not found on remote host.'
echo 'WARNING: \"sshfs\" not found on remote host.'
else
${mount_logic}
${mount_logic}
fi
\${SHELL:-bash};
${unmount_logic}