home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
729e6a2
)
New adhoc download directory helper
author
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 19 Apr 2023 16:18:33 +0000
(12:18 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 19 Apr 2023 16:18:33 +0000
(12:18 -0400)
home/lib/login_functions.sh
patch
|
blob
|
blame
|
history
diff --git
a/home/lib/login_functions.sh
b/home/lib/login_functions.sh
index
cbd8236
..
2897286
100644
(file)
--- 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() {
This page took
0.023895 seconds
and
4
git commands to generate.