-
-
Save yuhangch/3f012e3f3ab169d026621820567e9153 to your computer and use it in GitHub Desktop.
hugox V2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
blog_path=~/path/to/blog | |
cd $blog_path | |
hugo new --editor typora posts/$1.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
open -a typora $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment