Removed unnecessary /dev/tty redirect

This commit is contained in:
Bruce Hill 2019-10-02 13:41:19 -07:00
parent 0d3d80b94d
commit 95047f54e7

View File

@ -128,7 +128,7 @@ p: # Page through a file with $PAGER
:: # Run a command
ask cmd ':' && sh -c "$BBSHELLFUNC$cmd" -- "$@"; bb +r; pause
>: # Open a shell
tput rmcup >/dev/tty; $SHELL; bb +r
tput rmcup; $SHELL; bb +r
r,F2: # Rename a file
ask newname "Rename \033[33m$(basename "$BBCURSOR")\033[39m: " "$(basename "$BBCURSOR")" || exit
r="$(dirname "$BBCURSOR")/$newname" || exit