aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xgist3
1 files changed, 2 insertions, 1 deletions
diff --git a/gist b/gist
index 6c7443c..0e16187 100755
--- a/gist
+++ b/gist
@@ -700,9 +700,10 @@ _check_protocol() {
700} 700}
701 701
702_tag_gist() { 702_tag_gist() {
703 # if user want to change tags of a gist 703 # if no tag is given, show gist list with tags
704 if [[ -z $@ ]]; then 704 if [[ -z $@ ]]; then
705 display=tag mark=${INPUT:+.} _show_list 705 display=tag mark=${INPUT:+.} _show_list
706 # if user want to change tags of a gist
706 elif _gist_id $1 &>/dev/null; then 707 elif _gist_id $1 &>/dev/null; then
707 _show_detail $1 | sed 3,6d && echo 708 _show_detail $1 | sed 3,6d && echo
708 local desc="$(_get_desc $1)" 709 local desc="$(_get_desc $1)"