-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.sh
executable file
·32 lines (24 loc) · 977 Bytes
/
install.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
30
31
32
#!/bin/sh
echo 'Downloading thoughtbot/laptop....'
cd $HOME
sudo apt-get update
sudo apt-get install -y fzf ripgrep
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin
# instal omtmux
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf .
# install ohmyzsh
git clone https://github.com/ohmyzsh/ohmyzsh
sh ohmyzsh/tools/install.sh
ln -s $HOME/dotfiles/zsh $HOME/.zsh
ln -sf $HOME/dotfiles/zshrc $HOME/.zshrc
ln -s $HOME/dotfiles/tmux.conf.local $HOME/.tmux.conf.local
ln -s $HOME/dotfiles/config/nvim $HOME/.config/nvim
cd $HOME
# Great Git Defaults
git config --global pull.rebase true
git config --global fetch.prune true
git config --global diff.colorMoved zebra