Skip to content

Commit

Permalink
oh-my-bash: code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Hrbek committed Jul 24, 2019
1 parent 9dee040 commit 016ff57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oh-my-bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ if [ "$OSH_THEME" = "random" ]; then
source "$RANDOM_THEME"
echo "[oh-my-bash] Random theme '$RANDOM_THEME' loaded..."
else
if [ ! "$OSH_THEME" = "" ]; then
if [ -n "$OSH_THEME" ]; then
if [ -f "$OSH_CUSTOM/$OSH_THEME/$OSH_THEME.theme.sh" ]; then
source "$OSH_CUSTOM/$OSH_THEME/$OSH_THEME.theme.sh"
elif [ -f "$OSH_CUSTOM/themes/$OSH_THEME/$OSH_THEME.theme.sh" ]; then
Expand Down

0 comments on commit 016ff57

Please sign in to comment.