mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-12 12:13:15 -06:00
style: seperate line for question
This commit is contained in:
parent
d0796ac350
commit
fc30b5143b
1 changed files with 5 additions and 6 deletions
|
@ -1063,12 +1063,11 @@ class Viv:
|
|||
make_executable(src)
|
||||
echo("symlinking cli")
|
||||
|
||||
if cli.is_file() and confirm(
|
||||
f"Existing file at {a.style(str(cli),'bold')}, "
|
||||
"would you like to overwrite it?"
|
||||
):
|
||||
cli.unlink()
|
||||
cli.symlink_to(src)
|
||||
if cli.is_file():
|
||||
echo(f"Existing file at {a.style(str(cli),'bold')}")
|
||||
if confirm("Would you like to overwrite it?"):
|
||||
cli.unlink()
|
||||
cli.symlink_to(src)
|
||||
else:
|
||||
cli.symlink_to(src)
|
||||
|
||||
|
|
Loading…
Reference in a new issue