Changed 'cd's to 'builtin cd's, because I have a modified cd command (cd then ls) and it can get annoying when using the Jekyll aliases.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
newpost() {
|
||||
|
||||
# 'cd' into the local jekyll root
|
||||
# 'builtin cd' into the local jekyll root
|
||||
|
||||
cd "$JEKYLL_LOCAL_ROOT/_posts"
|
||||
builtin cd "$JEKYLL_LOCAL_ROOT/_posts"
|
||||
|
||||
# Get the date for the new post's filename
|
||||
|
||||
|
||||
Reference in New Issue
Block a user