Change indentation from 4 for to 2 spaces in shell scripts

This commit is contained in:
2012-04-21 20:25:29 +01:00
parent 9822615e79
commit d2ea935228
9 changed files with 86 additions and 86 deletions

View File

@@ -4,21 +4,21 @@
# Set path to root of dotfiles
if [ -n "${BASH_SOURCE[0]}" ] && [ -f "${BASH_SOURCE[0]}" ] ; then
DOTFILES="`dirname \"${BASH_SOURCE[0]}\"`"
DOTFILES="`dirname \"${BASH_SOURCE[0]}\"`"
elif [ -n "$0" ] && [ -f "$0" ]; then
DOTFILES="`dirname \"$0\"`"
DOTFILES="`dirname \"$0\"`"
elif [ -d "$HOME/.dotfiles" ]; then
DOTFILES="$HOME/.dotfiles"
DOTFILES="$HOME/.dotfiles"
fi
# Load main dotfiles
DOTSHELL="$DOTFILES/shell"
if [ -f "$DOTSHELL/_main.sh" ]; then
source "$DOTSHELL/_main.sh"
source "$DOTSHELL/_main.sh"
fi
# Setup and load private dotfiles
DOTPFILES="$DOTFILES/private"
if [ -f "$DOTPFILES/shellrc.sh" ]; then
source "$DOTPFILES/shellrc.sh"
source "$DOTPFILES/shellrc.sh"
fi