2017-12-13 13:08:26 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
(
|
|
|
|
cd ~
|
2017-12-13 13:24:18 +00:00
|
|
|
[[ -e /etc/arch-release ]] && pacman -S zsh bridge-utils psmisc vim git tree rsync bc wget tmux ctags
|
|
|
|
[[ -e /etc/centos-release ]] && yum install -y zsh bridge-utils psmisc vim git tree rsync bc wget tmux ctags yum-utils
|
|
|
|
[[ -e /etc/redhat-release ]] && yum install -y zsh bridge-utils psmisc vim git tree rsync bc wget tmux ctags yum-utils
|
|
|
|
[[ -e /etc/ubuntu-release ]] && apt install -y zsh bridge-utils psmisc vim git tree rsync bc wget tmux ctags yum-utils
|
|
|
|
[[ -e /etc/suse-release ]] && zypper install -y zsh bridge-utils psmisc vim git tree rsync bc wget tmux ctags yum-utils
|
2017-12-13 13:08:26 +00:00
|
|
|
grep -E '^source ~/.stemmet/zshrc' ~/.zshrc || echo 'source ~/.stemmet/zshrc' >>~/.zshrc
|
|
|
|
install -v --mode=700 -d ~/.ssh
|
|
|
|
which zsh
|
|
|
|
)
|
|
|
|
|