Permalink
Browse files

Rename shell files to fix syntax highlighting.

  • Loading branch information...
1 parent b3a701a commit 26a2d686f39dd407c7c21e5f965714bd54d99555 @MikeMcQuaid committed Mar 6, 2013
File renamed without changes.
File renamed without changes.
View
File renamed without changes.
View
@@ -26,11 +26,14 @@ for DOTFILE in *; do
[ -d $DOTFILE ] && DOTFILE="$DOTFILE/"
DIRFILE="$DOTFILESDIR/$DOTFILE"
- echo $DOTFILE | grep -q '\.' && continue
+ echo $DOTFILE | grep -q 'dotfiles' && continue
echo $DOTFILE | grep -q 'sublime' && HOMEFILE="$SUBLIME" \
&& mkdir -p "$HOMEFILE"
+ echo $DOTFILE | grep -q '\.sh' \
+ && HOMEFILE="$HOME/.$(echo $DOTFILE | sed -e 's/\.sh//')"
+
if [ $UNIX ]
then
if [ -L "$HOMEFILE" ] && ! [ -d $DOTFILE ]
File renamed without changes.
View
File renamed without changes.
View
File renamed without changes.
View
File renamed without changes.
View
File renamed without changes.

0 comments on commit 26a2d68

Please sign in to comment.