mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-09 19:13:14 -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)
|
make_executable(src)
|
||||||
echo("symlinking cli")
|
echo("symlinking cli")
|
||||||
|
|
||||||
if cli.is_file() and confirm(
|
if cli.is_file():
|
||||||
f"Existing file at {a.style(str(cli),'bold')}, "
|
echo(f"Existing file at {a.style(str(cli),'bold')}")
|
||||||
"would you like to overwrite it?"
|
if confirm("Would you like to overwrite it?"):
|
||||||
):
|
cli.unlink()
|
||||||
cli.unlink()
|
cli.symlink_to(src)
|
||||||
cli.symlink_to(src)
|
|
||||||
else:
|
else:
|
||||||
cli.symlink_to(src)
|
cli.symlink_to(src)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue