diff options
Diffstat (limited to 'scripts/gist')
-rwxr-xr-x | scripts/gist | 4 |
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() { |