diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-04-11 00:03:18 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-04-11 00:03:18 +0800 |
commit | c9e54bada4576f0b375e441eeed1c2c38da8628a (patch) | |
tree | be169f63733ccb09d772de322aa4e4ff771f369e /alias | |
parent | 12fa1fc470781c6042a9f2b9de67f3b3e663e1da (diff) |
Update
Diffstat (limited to 'alias')
-rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ sshtar() { | |||
36 | } | 36 | } |
37 | ssh.up() { | 37 | ssh.up() { |
38 | scp $1 topo:~/public/${2:-$1} | 38 | scp $1 topo:~/public/${2:-$1} |
39 | echo https://topo.tw/p/$2/$1 | 39 | echo https://topo.tw/p/$2${2:+/}$1 |
40 | } | 40 | } |
41 | ssh.up.today() { | 41 | ssh.up.today() { |
42 | DATE=$(date --iso-8601) | 42 | DATE=$(date --iso-8601) |