Fish garbage

This commit is contained in:
John Doty 2022-06-13 21:37:28 -07:00
parent e83a70ac57
commit 94fa83bcdb

View file

@ -1,5 +1,6 @@
#!/usr/local/bin/python3 #!/usr/local/bin/python3
import os import os
import subprocess
ignore = { ignore = {
"install.sh", "install.sh",
@ -104,3 +105,7 @@ if os.getenv("LOCALAPPDATA") is not None:
) )
# Check to set the shell to fish, if we need to # Check to set the shell to fish, if we need to
if os.getenv("CODER_WORKSPACE_ID"):
subprocess.run(["sudo", "apt-get", "update"])
subprocess.run(["sudo", "apt-get", "install", "-y", "fish"])
subprocess.run(["sudo", "chsh", "-s", "/usr/bin/fish", os.getenv("USER")])