Skip to content
Browse files

Fix to make scripts sourceable again

  • Loading branch information...
1 parent ae99c03 commit c1ec054c6abf26a96053664cb6c41b1420f8c422 Miroslav Koskar committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 templates/shell/dark.sh.erb
  2. +1 −1 templates/shell/light.sh.erb
View
2 templates/shell/dark.sh.erb
@@ -7,7 +7,7 @@
if [ "${TERM%%-*}" = 'linux' ]; then
# This script doesn't support linux console (use 'vconsole' template instead)
- exit
+ return 2>/dev/null || exit 0
fi
color00="<%= split_by_slash(@base["00"]["hex"]) %>" # Base 00 - Black
View
2 templates/shell/light.sh.erb
@@ -7,7 +7,7 @@
if [ "${TERM%%-*}" = 'linux' ]; then
# This script doesn't support linux console (use 'vconsole' template instead)
- exit
+ return 2>/dev/null || exit 0
fi
color00="<%= split_by_slash(@base["00"]["hex"]) %>" # Base 00 - Black

0 comments on commit c1ec054

Please sign in to comment.
Something went wrong with that request. Please try again.