replace a tab to spaces

This commit is contained in:
deluxghost 2017-09-02 19:03:14 +08:00 committed by GitHub
parent c1c8417c7d
commit 9a737faea9

View File

@ -9,7 +9,7 @@ function theme
RANDOM_THEME_NAME=`echo "$RANDOM_THEME"|xargs -d '\n' -n 1 basename|sed 's/\(.*\)\..*/\1/'` RANDOM_THEME_NAME=`echo "$RANDOM_THEME"|xargs -d '\n' -n 1 basename|sed 's/\(.*\)\..*/\1/'`
echo "[oh-my-zsh] Random theme '$RANDOM_THEME_NAME' loaded." echo "[oh-my-zsh] Random theme '$RANDOM_THEME_NAME' loaded."
else else
if [ -f "$ZSH_CUSTOM/$1.zsh-theme" ]; then if [ -f "$ZSH_CUSTOM/$1.zsh-theme" ]; then
source "$ZSH_CUSTOM/$1.zsh-theme" source "$ZSH_CUSTOM/$1.zsh-theme"
elif [ -f "$ZSH_CUSTOM/themes/$1.zsh-theme" ]; then elif [ -f "$ZSH_CUSTOM/themes/$1.zsh-theme" ]; then
source "$ZSH_CUSTOM/themes/$1.zsh-theme" source "$ZSH_CUSTOM/themes/$1.zsh-theme"