-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·26 lines (16 loc) · 855 Bytes
/
setup.sh
File metadata and controls
executable file
·26 lines (16 loc) · 855 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
#!/bin/bash
DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
sh -c "$(curl -fsSL https://github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
ln -s "$DIR/p10k.zsh" ~/.p10k.zsh
ln -s "$DIR/p10k.zsh" ~/p10k.zsh
ln -s "$DIR/bazel_magic.zsh" ~/bazel_magic.zsh
ln -s "$DIR/bazel_magic.bash" ~/bazel_magic.bash
mv ~/.zshrc ~/zshrc-old || ln -s "$DIR/zshrc" ~/.zshrc
g++ --std=c++17 bazel_fast_metadata.cc -o bazel_fast_metadata
ln -s "$DIR/bazel_fast_metadata" ~/bazel_fast_metadata
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
mkdir -p ~/.config/powerline-shell
ln -s "$DIR/powerline-shell" ~/.config/powerline-shell
ln -s "$DIR/zshrc" ~/.zshrc
git clone --depth 1 https://github.com/junegunn/fzf.git "$DIR/fzf"
"$DIR/fzf/install"