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.
12 lines
209 B
Bash
Executable file
12 lines
209 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# A simple utility that waits for a file to become available, infinitely
|
|
|
|
LD_INTERNAL=1
|
|
. $(dirname $(realpath $0))/ld.source
|
|
|
|
file=$@
|
|
while [ ! -f "$file" ]
|
|
do
|
|
sleep 0.1
|
|
done
|
|
echo $file
|