Skip to content

Instantly share code, notes, and snippets.

@wzpan
Last active December 18, 2015 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wzpan/5779228 to your computer and use it in GitHub Desktop.
Save wzpan/5779228 to your computer and use it in GitHub Desktop.
Some settings that can help me manage ruhoh
export RUHOH=/home/ehome/Documents/blog
export PUBLISH=/home/ehome/Documents/wzpan.github.io
alias _rp='cd $RUHOH && bundle exec rackup -p 9294'
alias _gd='cd $RUHOH && guard'
alias _dft='cd $RUHOH && bundle exec ruhoh posts draft' # 快速添加草稿
alias _note='cd $RUHOH && bundle exec ruhoh wiki draft' # 快速添加笔记
alias _tp='cd $RUHOH && bundle exec ruhoh posts titleize' # 快速为草稿文件命名
alias _tn='cd $RUHOH && bundle exec ruhoh wiki titleize' # 快速为草稿文件命名
alias _cp='ruhoh_compile' # 编译和交互式更新
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment