Fish garbage
This commit is contained in:
parent
e83a70ac57
commit
94fa83bcdb
1 changed files with 5 additions and 0 deletions
5
setup.py
5
setup.py
|
|
@ -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")])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue