aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
Diffstat (limited to 'alias')
-rw-r--r--alias2
1 files changed, 1 insertions, 1 deletions
diff --git a/alias b/alias
index 1cc0766..fa786d4 100644
--- a/alias
+++ b/alias
@@ -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