Remove unnecessary import statement
Make the output message a bit nicer
This commit is contained in:
parent
6ff90f912a
commit
3eb9fcd1b4
@ -1,7 +1,7 @@
|
|||||||
from PyInquirer import prompt
|
from PyInquirer import prompt
|
||||||
import os
|
import os
|
||||||
from shutil import copyfile
|
from shutil import copyfile
|
||||||
from print_helpers import print_gr, print_warn, print_fail
|
from print_helpers import print_gr, print_fail
|
||||||
|
|
||||||
|
|
||||||
class BashrcModule:
|
class BashrcModule:
|
||||||
@ -23,4 +23,4 @@ class BashrcModule:
|
|||||||
return
|
return
|
||||||
|
|
||||||
copyfile("./modules/bashrc/bashrc_default", bashrc_path)
|
copyfile("./modules/bashrc/bashrc_default", bashrc_path)
|
||||||
print_gr("Overwritten") if bashrc_exists else print_gr("Created")
|
print_gr("Successfully overwritten .bashrc!") if bashrc_exists else print_gr(f"Successfully created .bashrc!")
|
||||||
|
Loading…
Reference in New Issue
Block a user