mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
cli: beauty touches on 'omz pr test' command
This commit is contained in:
parent
3178334a2d
commit
a15f0f0e9f
1 changed files with 4 additions and 0 deletions
|
@ -181,6 +181,10 @@ function _omz::pr::test {
|
||||||
# After testing, go back to the previous HEAD if the user wants
|
# 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] "
|
_omz::log prompt "do you want to go back to the previous branch? [Y/n] "
|
||||||
read -r -k 1
|
read -r -k 1
|
||||||
|
|
||||||
|
# If no newline entered, add a newline
|
||||||
|
[[ "$REPLY" != $'\n' ]] && echo
|
||||||
|
# If NO selected, do nothing else
|
||||||
[[ "$REPLY" = [nN] ]] && return
|
[[ "$REPLY" = [nN] ]] && return
|
||||||
|
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in a new issue