diff options
-rwxr-xr-x | gist | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -654,8 +654,8 @@ _new_file() { | |||
654 | 654 | ||
655 | echo > /dev/tty | 655 | echo > /dev/tty |
656 | [[ -z $1 ]] && read -e -r -p 'Type file name: ' filename < /dev/tty | 656 | [[ -z $1 ]] && read -e -r -p 'Type file name: ' filename < /dev/tty |
657 | mv "$tmp_file" /tmp/"$filename" | 657 | mv "$tmp_file" $tmp_dir/"$filename" |
658 | echo /tmp/"$filename" | 658 | echo $tmp_dir/"$filename" |
659 | } | 659 | } |
660 | 660 | ||
661 | # Parse JSON object of a single gist | 661 | # Parse JSON object of a single gist |