Browse Source

gimme: fix colors for gimmes

Kyle P Davis 9 years ago
parent
commit
be66b43095
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gimme

+ 1 - 1
gimme

@@ -95,7 +95,7 @@ else # normal usage
 
 		if [[ -x "$P" ]]; then
 			[[ "$PATH" = "$LINK_DIR"* ]]  ||  export PATH="$LINK_DIR:$PATH"
-			if "$P" | sed "s/^/  /"; then
+			if script -q /dev/null "$P" / | sed "s/^/  /"; then
 				echo "# DONE: $GIMME"
 			else
 				OUCH=$?