Skip to content

Commit

Permalink
Add some more aliases to make blogging more convenient.
Browse files Browse the repository at this point in the history
  • Loading branch information
dydz committed Jun 26, 2021
1 parent 15dd91d commit aa22909
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .autoenv.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ blogDirectory="$programDirectory/blog"
# does not have a valid date in the YAML front matter.
# ERROR: YOUR SITE COULD NOT BE BUILT:
# ]]
alias start-server="cd '$blogDirectory' && bundle exec jekyll serve --livereload --open-url"
alias jekyll="cd '$blogDirectory' && bundle exec jekyll"
alias serve="start-server"
alias start-server="jekyll serve --livereload --open-url"
2 changes: 2 additions & 0 deletions .autoenv_leave.zsh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
unalias jekyll
unalias serve
unalias start-server

0 comments on commit aa22909

Please sign in to comment.