Render that which belongs to caesar unto caesar

This commit is contained in:
John Doty 2022-06-14 05:30:46 -07:00
parent 30216371da
commit 14932b6656
2 changed files with 12 additions and 5 deletions

View file

@ -1,4 +1,16 @@
#!/bin/bash #!/bin/bash
#
# This is my dotfiles setup script. It is invoked by coder.com instances.
# We have this shared part of the setup, in setup.py, so let's run that first.
MY_PATH=$(dirname "$0") MY_PATH=$(dirname "$0")
cd $MY_PATH cd $MY_PATH
python3 "./setup.py" python3 "./setup.py"
# OK this stuff here is better in bash, and also is specific to setting up
# coder.com instances, so.
sudo add-apt-repository ppa:kelleyk/emacs -y
sudo apt-get update
sudo apt-get install -y fish emacs27-nox tmux
sudo chsh -s /usr/bin/fish $USER

View file

@ -105,8 +105,3 @@ 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", "add-apt-repository", "ppa:kelleyk/emacs", "-y"])
subprocess.run(["sudo", "apt-get", "update"])
subprocess.run(["sudo", "apt-get", "install", "-y", "fish", "emacs27-nox", "tmux"])
subprocess.run(["sudo", "chsh", "-s", "/usr/bin/fish", os.getenv("USER")])