-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·40 lines (33 loc) · 1.13 KB
/
install.sh
File metadata and controls
executable file
·40 lines (33 loc) · 1.13 KB
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
34
35
36
37
38
39
40
#!/bin/bash
set -eEuo pipefail
INSTALLDIR="${HOME}/dotfiles"
# if current dir is not '~/dotfiles', complain and exit
CURR_DIR=$(cd $(dirname "$0") && pwd)
if [ "$INSTALLDIR" != "$CURR_DIR" ]; then
echo "dotfiles repo not cloned into "$INSTALLDIR"! Exiting ..."
exit 0
fi
# update submodules
echo "updating submodules ..."
git submodule update --init --recursive
# initialise dotdrop
pip3 install -r dotdrop/requirements.txt --user
/bin/bash ./dotdrop/bootstrap.sh
# create symlinks
alias dotdrop="${CURR_DIR}/dotdrop.sh --cfg=${CURR_DIR}/dotdrop.yml"
./dotdrop.sh --cfg ./dotdrop.yml install
# Install zsh related things
curl -sfL git.io/antibody | sh -s - -b /usr/local/bin
go get gopkg.in/Netflix-Skunkworks/go-jira.v1/cmd/jira
#brew install rust
cargo install vivid
#brew install ripgrep / sudo dnf install -y ripgrep
#brew install fd / sudo dnf install -y fd-find
# install colorls, howdoi, asciinema, dockly, fzf, whereami, gtop
sudo gem install colorls
sudo pip install howdoi
sudo python3 -m pip install asciinema
sudo npm install -g dockly
#sudo dnf install -y fzf
sudo npm install -g @rafaelrinaldi/whereami
sudo npm install -g gtop