psoxizsh/fresh-system

14 lines
791 B
Plaintext
Raw Normal View History

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