about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xcompletelyTypeWord.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/completelyTypeWord.sh b/completelyTypeWord.sh
index de13a92..4c862c4 100755
--- a/completelyTypeWord.sh
+++ b/completelyTypeWord.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
 type=wtype
 while read -r word; do
-	test "${word:1}" && $type "${word:1}"
+	test "${word#?}" && $type "${word#?}"
 done