diff options
-rwxr-xr-x | gist | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)" |