-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinit.sh
29 lines (21 loc) · 1.13 KB
/
init.sh
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
#!/bin/bash
/opt/conda/envs/continuum/bin/python -m ipykernel install --user --name cntm --display-name "cntm"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
cp ~/init_confs/zshrc ~/.zshrc
mkdir ~/.ssh
cp ~/init_confs/config ~/.ssh/config
cat << 'EOF' >> ~/.zshrc
export "PATH=$PATH:/opt/conda/bin"
EOF
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# download syntax highlighting extension
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# install autocompletions extension
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
sed -i 's/robbyrussell/powerlevel10k\/powerlevel10k/g' ~/.zshrc
cp ~/private/init_confs/p10k.zsh ~/.p10k.zsh
#mamba env create -f env_gpu.yml
#/opt/conda/envs/ts/bin/python -m ipykernel install --user --name ts --display-name "ts"
/usr/bin/zsh