Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
2d9da1f
)
fixing an argument error
author
Robert R Evans
<robert@codewranglers.org>
Tue, 2 Nov 2010 20:45:21 +0000
(13:45 -0700)
committer
Robert R Evans
<robert@codewranglers.org>
Tue, 2 Nov 2010 20:45:21 +0000
(13:45 -0700)
aliases/jekyll.aliases.bash
patch
|
blob
|
history
diff --git
a/aliases/jekyll.aliases.bash
b/aliases/jekyll.aliases.bash
index
c447894
..
a5078e3
100644
(file)
--- a/
aliases/jekyll.aliases.bash
+++ b/
aliases/jekyll.aliases.bash
@@
-1,10
+1,8
@@
# Open the root of your site in your vim or cd to it
-if [ $EDITOR = "vim" ]
-then
- alias newentry="cd $JEKYLL_LOCAL_ROOT && $EDITOR ."
-else
- alias newentry="cd $JEKYLL_LOCAL_ROOT"
+if [[ $EDITOR = "vim" ]]
+then alias newentry="cd $JEKYLL_LOCAL_ROOT && $EDITOR ."
+else alias newentry="cd $JEKYLL_LOCAL_ROOT"
fi
# Open the _posts/ directory for making a new blog post (seperate from above alias because not everyone uses jekyll for a blog)