-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinuxInstallation.sh
More file actions
79 lines (64 loc) · 1.78 KB
/
linuxInstallation.sh
File metadata and controls
79 lines (64 loc) · 1.78 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
mkdir -p ~/.local/bin
mkdir -p ~/.local/Downloads
export PATH="$HOME/.local/bin:$PATH"
## VIM
cd ~/.local/Downloads
git clone https://github.com/vim/vim.git
cd vim/src
./configure --prefix=$HOME/.local/
make
make install
vim &
vimPID=$!
# TODO Need to sort .vimrc
## fzf
cd ~/.local/Downloads
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
## Screen
cd ~/.local/Downloads
wget http://ftp.gnu.org/gnu/screen/screen-4.9.0.tar.gz
mkdir screen
mv screen-4.9.0.tar.gz screen/
cd screen
tar -xf screen-4.9.0.tar.gz
cd screen-4.9.0/
./autogen.sh
./configure --prefix=$HOME/.local/
## ripgrep
cd ~/.local/Downloads
mkdir ripgrep
cd ripgrep
wget https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep-13.0.0-x86_64-unknown-linux-musl.tar.gz
tar -xf ripgrep*
cd ripgrep*
cp rg $HOME/.local/bin/
## Ultimate plumber
cd ~/.local/Downloads
mkdir up
cd up
wget https://github.com/akavel/up/releases/latest/download/up
chmod +x up
mv up $HOME/.local/bin/
## mini-conda (Python + conda ...)
cd ~/.local/Downloads
mkdir miniConda
cd miniConda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
conda update conda
conda config --set changeps1 False
## theFuck
pip install thefuck
echo $'eval "$(thefuck --alias f)"' >> .bashrc
## rsync-time-backup
cd ~/.local/Downloads
mkdir rsync-time-backup
cd rsync-time-backup
git clone https://github.com/laurent22/rsync-time-backup
cd rsync-time-backup
mv rsync_tmbackup.sh ~/.local/bin/
## Firefox plugins
firefox --new-tab --url https://addons.mozilla.org/en-US/firefox/addon/istilldontcareaboutcookies/
firefox --new-tab --url https://addons.mozilla.org/en-GB/firefox/addon/leechblock-ng/
firefox --new-tab --url https://addons.mozilla.org/en-GB/firefox/addon/ublock-origin/