From adc7f042d676e4fe13f11d8a621c9f181cf8dffb Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 22 Jan 2020 16:03:49 +0800 Subject: update --- scripts/gist | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/gist b/scripts/gist index e9b95c0..5786dac 100755 --- a/scripts/gist +++ b/scripts/gist @@ -232,6 +232,7 @@ _new_file() { cat > $tmp_file echo -e '\n' > /dev/tty [[ -z "$1" ]] && echo -n 'Type file name: ' > /dev/tty && read filename + # FIXME filename is invalid mv $tmp_file /tmp/$filename echo /tmp/$filename } -- cgit v1.2.3-70-g09d2