diff options
Diffstat (limited to 'scripts/gist')
-rwxr-xr-x | scripts/gist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gist b/scripts/gist index e9b95c0..5786dac 100755 --- a/scripts/gist +++ b/scripts/gist | |||
@@ -232,6 +232,7 @@ _new_file() { | |||
232 | cat > $tmp_file | 232 | cat > $tmp_file |
233 | echo -e '\n' > /dev/tty | 233 | echo -e '\n' > /dev/tty |
234 | [[ -z "$1" ]] && echo -n 'Type file name: ' > /dev/tty && read filename | 234 | [[ -z "$1" ]] && echo -n 'Type file name: ' > /dev/tty && read filename |
235 | # FIXME filename is invalid | ||
235 | mv $tmp_file /tmp/$filename | 236 | mv $tmp_file /tmp/$filename |
236 | echo /tmp/$filename | 237 | echo /tmp/$filename |
237 | } | 238 | } |