-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·63 lines (44 loc) · 1.97 KB
/
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
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
#!/bin/bash
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo add-apt-repository ppa:tatokis/alarm-clock-applet
sudo apt-get update
sudo apt-get install -y alarm-clock-applet apt-file agrep certbot cloc curl cvc4 djinn fish git git-filter-repo git-lfs haskell-stack hlint hoogle ipython3 jq lambdabot lynx nodejs npm pandoc pdfsam powerline pylint python-wxtools python3-pytest rename sdate sox supervisor swi-prolog-core tig tox xdotool yarn zbar-tools z3
sudo snap install upscayl
git lfs install
git config --global push.default current
stack update &
pip3 install --upgrade black Click isort jinja2-cli jupyter keras nltk numpy pandas pip prefect pygments scipy scikit-learn sympy tabulate tensorflow thefuck youtube-dl &
# load the apt cache to find out what package exposes a certain command
sudo apt-file update
# Use powerline for fish
cat >> ~/.config/fish/config.fish <<EOF
set fish_function_path \$fish_function_path "/usr/share/powerline/bindings/fish"
source /usr/share/powerline/bindings/fish/powerline-setup.fish
powerline-setup
EOF
wait
# Install Haskell support for vim
tmp=$(tempfile)
curl -L https://git.io/haskell-vim-now > "$tmp"
bash "$tmp"
rm -f "$tmp"
# Install color plugin for vim
git clone https://github.com/ap/vim-css-color.git ~/.vim/pack/css-color/start/css-color
hoogle generate &
stack install ascii-art-to-unicode # install ASCII-art to Unicode converter
sudo useradd prefect
cd /tmp
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
cd ..
rm -rf fonts
# TODO:!!!
abbr -a --regex '[.][.][.]([/].*)?' --position anywhere --function ... -- git_root
abbr -a --regex '.*[{]-?[0-9]+[:]-?[0-9]+([:]-?[0-9]+)?[}].*' --position anywhere --function expand -- expand
sudo groupadd light
usermod -aG light "$USER"
sudo chgrp light /sys/class/leds/rgb:kbd_backlight/
sudo chmod g+w -R /sys/class/leds/rgb:kbd_backlight/
wait