Commit a15f0f0e authored by Marc Cornellà's avatar Marc Cornellà
Browse files

cli: beauty touches on 'omz pr test' command

parent 3178334a
......@@ -181,6 +181,10 @@ function _omz::pr::test {
# After testing, go back to the previous HEAD if the user wants
_omz::log prompt "do you want to go back to the previous branch? [Y/n] "
read -r -k 1
# If no newline entered, add a newline
[[ "$REPLY" != $'\n' ]] && echo
# If NO selected, do nothing else
[[ "$REPLY" = [nN] ]] && return
(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment