home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New adhoc download directory helper
[khome.git]
/
home
/
lib
/
login_functions.sh
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
}
| 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() {
## web search
## ws : string -> unit
ws() {
This page took
0.02753 seconds
and
4
git commands to generate.