-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathinstaller.sh
executable file
·47 lines (47 loc) · 1.63 KB
/
installer.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
########################################################################################################
# software installation, include
# tmux
# fish shell
# python3
# gdebi
# net-tools
sudo apt-get install -y wget curl tmux fish python3 python3-dev python3-pip gdebi net-tools
#
# hyper.is
sudo wget -c https://releases.hyper.is/download/deb -O hyper-latest.deb
sudo gdebi -y hyper-latest.deb
sudo rm -f hyper-latest.deb
# nerd font
sudo apt-get install -y fonts-hack-ttf
sudo wget -c https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip -O Hack.zip
sudo unzip Hack.zip
sudo cp *.ttf ~/.local/share/fonts/
sudo rm -f *.ttf Hack.zip
sudo fc-cache -f -v
# oh-my-fish
curl -L https://get.oh-my.fish > install.fish
echo 'omf install bobthefish' >> install.fish
fish install.fish -y
rm -f install.fish
#
########################################################################################################
# soft link configuration file
#
#
ln -snf ~/dotfiles/tmux/.tmux.conf ~/.tmux.conf
ln -snf ~/dotfiles/vim/.vimrc ~/.vimrc
ln -snf ~/dotfiles/vim ~/.vim
ln -snf ~/.vim/.vimrc ~/.vimrc
ln -snf ~/dotfiles/hyper/.hyper.js ~/.hyper.js
# renove top-level configuration file
sudo rm -rf ~/.config/Hyper/.hyper.js
# fish configuration
ln -snf ~/dotfiles/config/fish/config.fish ~/.config/fish/config.fish
ln -snf ~/dotfiles/config/fish/fish_variables ~/.config/fish/fish_variables
rm -rf ~/.config/fish/functions
ln -snf ~/dotfiles/config/fish/functions ~/.config/fish/functions
#
# bash
ln -s ~/dotfiles/config/bash/ash /usr/local/bin
#
########################################################################################################