diff options
author | pystardust <notpiestardust@gmail.com> | 2021-03-03 16:42:50 +0530 |
---|---|---|
committer | pystardust <notpiestardust@gmail.com> | 2021-03-03 16:42:50 +0530 |
commit | d57aeb1f43a6d95fe67550aae297138017554b51 (patch) | |
tree | bec48a3b9efef37aebe047d14ba98a569a308854 | |
parent | 20a798bc4880b969bcdbe9ccc2314e4c79966c31 (diff) | |
download | ytfzf-d57aeb1f43a6d95fe67550aae297138017554b51.tar.gz |
fix: bash users had problems with history file due to echo \n
-rwxr-xr-x | ytfzf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -348,8 +348,8 @@ user_selection () { done<<EOF $shorturls EOF - urls="$(printf "$urls" | sed 1d )" - selected_data="$(echo "$selected_data" | sed 1d )" + urls="$( printf "$urls" | sed 1d )" + selected_data="$( printf "$selected_data" | sed 1d )" if [ $show_link_only -eq 1 ] ; then echo "$urls" |