summaryrefslogtreecommitdiffhomepage
path: root/scripts/gist
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-01-27 23:54:38 +0800
committertypebrook <typebrook@gmail.com>2020-01-27 23:54:38 +0800
commit5f683413d7a5fee089920b1a0f6d2d1ea8aa2338 (patch)
tree0417f276495a3e38ada075682d40129f357b7823 /scripts/gist
parent2d34e23619a39b212f4d71373323880f106f1ba9 (diff)
update
Diffstat (limited to 'scripts/gist')
-rwxr-xr-xscripts/gist4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gist b/scripts/gist
index 6d58fe7..a3ab4f2 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -230,8 +230,8 @@ _set_gist() {
230 esac 230 esac
231 done 231 done
232 if [[ "$1" == '--' ]]; then shift; fi 232 if [[ "$1" == '--' ]]; then shift; fi
233 # TODO could be simplified? 233 ls "$@" || exit 1
234 files="$@" && echo $files | xargs ls > /dev/null || exit 1 234 files="$@"
235} 235}
236 236
237_new_file() { 237_new_file() {