-
Notifications
You must be signed in to change notification settings - Fork 0
/
Install_NiceToHaveSoftware.sh
executable file
·38 lines (30 loc) · 1.34 KB
/
Install_NiceToHaveSoftware.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
#!/bin/sh
echo '--------------------------------------------'
echo 'Install ZSH and the GRML-ZSH configuration'
sudo apt-get -qq -y install zsh >> /dev/null
sudo wget -O /etc/zsh/zshrc https://raw.githubusercontent.com/grml/grml-etc-core/master/etc/zsh/zshrc
sudo chsh -s /usr/bin/zsh pi
sudo chsh -s /usr/bin/zsh
sudo -u pi touch /home/pi/.zshrc
echo '--------------------------------------------'
echo 'Install VIM'
sudo apt-get -qq -y install vim >> /dev/null
sudo wget -O /etc/vim/vimrc http://git.grml.org/f/grml-etc-core/etc/vim/vimrc
sudo sh -c 'echo "set tabstop=2" >> /etc/vim/vimrc'
sudo sh -c 'echo "set shiftwidth=2" >> /etc/vim/vimrc'
sudo sh -c 'echo "set expandtab" >> /etc/vim/vimrc'
sudo sh -c 'echo "set paste" >> /etc/vim/vimrc'
echo '--------------------------------------------'
echo 'Install screen'
sudo apt-get -qq -y install screen >> /dev/null
sudo wget -O /etc/screenrc http://git.grml.org/f/grml-etc-core/etc/grml/screenrc_generic
echo '--------------------------------------------'
echo 'Install nmon'
sudo apt-get -qq -y install nmon >> /dev/null
echo '--------------------------------------------'
echo 'Install iftop'
sudo apt-get -qq -y install iftop >> /dev/null
echo '--------------------------------------------'
echo 'Install htop'
sudo apt-get -qq -y install htop >> /dev/null
echo '--------------------------------------------'