aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gist2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist
index 291e513..07dc725 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -370,7 +370,7 @@ _gist_id() {
370 GIST_ID=$( (grep -hs '' $INDEX || true) | sed -n -e "/^$1 / p" | cut -d' ' -f2 | sed -E -e 's#.*/##') 370 GIST_ID=$( (grep -hs '' $INDEX || true) | sed -n -e "/^$1 / p" | cut -d' ' -f2 | sed -E -e 's#.*/##')
371 if [[ -z $GIST_ID ]]; then 371 if [[ -z $GIST_ID ]]; then
372 echo -e "Not a valid index: \e[31m$1\e[0m" 372 echo -e "Not a valid index: \e[31m$1\e[0m"
373 echo Use the index in the first column instead: 373 echo 'Use the index in the first column instead (like 1 or s1):'
374 echo 374 echo
375 _show_list 375 _show_list
376 return 1 376 return 1