14 lines
791 B
Bash
Executable File
14 lines
791 B
Bash
Executable File
#! /bin/sh
|
|
|
|
(
|
|
cd ~
|
|
[[ -e /etc/arch-release ]] && sudo -i pacman --needed -S zsh bridge-utils psmisc vim git tree rsync bc wget tmux ctags
|
|
[[ -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
|
|
grep -E '^source ~/.psoxizsh/zshrc' ~/.zshrc || echo 'source ~/.psoxizsh/zshrc' >>~/.zshrc
|
|
install -v --mode=700 -d ~/.ssh
|
|
which zsh
|
|
)
|