X-Git-Url: https://git.xandkar.net/?p=khome.git;a=blobdiff_plain;f=home%2Flib%2Flogin_functions.sh;h=2897286a9d7e2c7fb399b853e525314094487417;hp=cbd8236a5ed46589ed29b9fe63b38bf885c0dab7;hb=7af085ce08db7351873b2abd3f7006c4a1105401;hpb=729e6a21b040c310f5f61c6318b9e3532879a10c diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index cbd8236..2897286 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -96,6 +96,16 @@ p() { | xsel -i -b -t 30000 } +dl() { + local -r timestamp="$(date --iso-8601=ns)" + local -r dir="$HOME"/dl/adhoc/"$timestamp" + local -r url_file_path="${dir}/url" + + mkdir -p "$dir" + touch "$url_file_path" + cd "$dir" +} + ## web search ## ws : string -> unit ws() {