|
@@ -100,22 +100,22 @@ def main():
|
|
|
# NVIM
|
|
# NVIM
|
|
|
create_path('$HOME/.config/nvim/')
|
|
create_path('$HOME/.config/nvim/')
|
|
|
copy_file(f'{SDIR}/app_config/nvim', '$HOME/.config/nvim/init.vim')
|
|
copy_file(f'{SDIR}/app_config/nvim', '$HOME/.config/nvim/init.vim')
|
|
|
- echo "Installed NVIM configs"
|
|
|
|
|
|
|
+ print('Installed NVIM configs')
|
|
|
|
|
|
|
|
# TMUX
|
|
# TMUX
|
|
|
copy_file(f'{SDIR}/app_config/tmux.conf', '$HOME/.tmux.conf')
|
|
copy_file(f'{SDIR}/app_config/tmux.conf', '$HOME/.tmux.conf')
|
|
|
- echo "Installed TMUX configs"
|
|
|
|
|
|
|
+ print('Installed TMUX configs')
|
|
|
|
|
|
|
|
# Create dots working dir
|
|
# Create dots working dir
|
|
|
run(f'rm -rf $HOME/.dots/base/') # Remove old config
|
|
run(f'rm -rf $HOME/.dots/base/') # Remove old config
|
|
|
create_path('$HOME/.dots/base/')
|
|
create_path('$HOME/.dots/base/')
|
|
|
create_path('$HOME/.dots/user/')
|
|
create_path('$HOME/.dots/user/')
|
|
|
- echo "Initialized Dots dir"
|
|
|
|
|
|
|
+ print('Initialized Dots dir')
|
|
|
|
|
|
|
|
# Set default aliases
|
|
# Set default aliases
|
|
|
copy_file(f'{SDIR}/aliases/default_aliases', f'$HOME/.dots/base')
|
|
copy_file(f'{SDIR}/aliases/default_aliases', f'$HOME/.dots/base')
|
|
|
copy_file(f'{SDIR}/prompts/{uprompt}-prompt', f'$HOME/.dots/base')
|
|
copy_file(f'{SDIR}/prompts/{uprompt}-prompt', f'$HOME/.dots/base')
|
|
|
- echo "Set prompt"
|
|
|
|
|
|
|
+ print('Set prompt')
|
|
|
|
|
|
|
|
# Add Bashrc Config
|
|
# Add Bashrc Config
|
|
|
if not string_in_file('$HOME/.bashrc', BASHRC_STR):
|
|
if not string_in_file('$HOME/.bashrc', BASHRC_STR):
|