summaryrefslogtreecommitdiffhomepage
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 144a033..c67b6e3 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -195,7 +195,7 @@ _new_file() {
195} 195}
196 196
197# create a new gist with files 197# create a new gist with files
198# FIXME consider file not exist -> let user type? return 1? 198# TODO let user specify filename
199_create_gist() { 199_create_gist() {
200 files="$@" 200 files="$@"
201 [[ -z "$files" ]] && files=$(_new_file) 201 [[ -z "$files" ]] && files=$(_new_file)