diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-08-13 19:53:48 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-08-13 19:53:48 +0800 |
| commit | cfb68bc8f39b9e989ee62df09f3f4e70b877e406 (patch) | |
| tree | d31edac8d65b5b95250894c7db90452042b7f45c /alias | |
| parent | 5b7175e41c8ee9fc31354a530f26eeb11ec3a509 (diff) | |
Update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -180,7 +180,7 @@ vp() { | |||
| 180 | post=$(eval $PREFIX find ~/blog/content -name $filename | head -1 | sed 's/\r//') | 180 | post=$(eval $PREFIX find ~/blog/content -name $filename | head -1 | sed 's/\r//') |
| 181 | 181 | ||
| 182 | if [ -z "$post" ]; then | 182 | if [ -z "$post" ]; then |
| 183 | echo hugo new posts/$filename | eval ${PREFIX:-sh} | 183 | echo 'cd ~/blog && hugo new posts/$filename' | eval ${PREFIX:-sh} |
| 184 | post="~/blog/content/posts/$filename" | 184 | post="~/blog/content/posts/$filename" |
| 185 | fi | 185 | fi |
| 186 | 186 | ||