-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·33 lines (25 loc) · 958 Bytes
/
setup.sh
File metadata and controls
executable file
·33 lines (25 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
ln -sf ~/develop/cfg/.bashrc ~/.bashrc
ln -sf ~/develop/cfg/.bash_profile ~/.bash_profile
ln -sf ~/develop/cfg/.emacs.d ~/.emacs.d
ln -sf ~/develop/cfg/.ssh/config ~/.ssh/config
ln -sf ~/develop/cfg/.gitconfig ~/.gitconfig
# setup warp themes
mkdir -p ~/.warp
ln -sf ~/develop/cfg/warp-themes/ ~/.warp/themes
# setup matplotlib
mkdir -p ~/.matplotlib
mkdir -p ~/.config/matplotlib
ln -sf ~/develop/cfg/matplotlibrc ~/.matplotlib/matplotlibrc
ln -sf ~/develop/cfg/matplotlibrc ~/.config/matplotlib/matplotlibrc
# setup jupyter
mkdir -p ~/.jupyter
ln -s ~/develop/cfg/jupyter_notebook_config.py ~/.jupyter/jupyter_notebook_config.py
cd ~/.ssh && chmod 644 config
cd ~/develop/cfg/
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --help
mkdir -p ~/.config
mkdir -p ~/.starship/bin
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- -y -b ~/.starship/bin
ln -sf ~/develop/cfg/starship/starship.toml ~/.config/starship.toml
cd ~