More cleanup
This commit is contained in:
+7
-5
@@ -193,7 +193,6 @@ return {{
|
||||
""")
|
||||
|
||||
# Wezterm super terminal
|
||||
# --------------------------------------------------------------------------
|
||||
wezterm_terminal_script_path = install_dir / "dev_terminal.bat"
|
||||
devenver.lprint(f"Installing WezTerm terminal script to {wezterm_terminal_script_path}")
|
||||
|
||||
@@ -214,10 +213,6 @@ start "" /MAX "%~dp0{installed_dev_apps["WezTerm"][0]["exe_path"].relative_to(in
|
||||
# PyNvim
|
||||
devenver.lprint(f"Installing PyNVIM")
|
||||
subprocess.run(f"{python_exe_path} -m pip install pynvim")
|
||||
else:
|
||||
dev_env_script_path = (install_dir / "dev_env_update.sh")
|
||||
dev_env_script_path.write_text(f"{sys.executable} {install_script_path} --with-dev-apps linux\n")
|
||||
subprocess.run(args=["chmod", "+x", dev_env_script_path])
|
||||
|
||||
# Use LLVM script to fix up bloated installation
|
||||
# See: https://github.com/zufuliu/llvm-utils/blob/main/llvm/llvm-link.bat
|
||||
@@ -240,6 +235,13 @@ start "" /MAX "%~dp0{installed_dev_apps["WezTerm"][0]["exe_path"].relative_to(in
|
||||
shutil.copy(internal_dir / "unix_fzf-completion.bash", install_dir)
|
||||
shutil.copy(internal_dir / "unix_fzf-key-bindings.bash", install_dir)
|
||||
|
||||
# Install dev scripts
|
||||
if is_windows:
|
||||
shutil.copy(internal_dir / "win_dev.bat", install_dir / "dev.bat")
|
||||
else:
|
||||
shutil.copy(internal_dir / "unix_dev.sh", install_dir / "dev.sh")
|
||||
subprocess.run(args=["chmod", "+x", install_dir / "dev.sh")
|
||||
|
||||
# Install left-overs
|
||||
devenver.print_header("Install configuration files")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user