Simplify install
This commit is contained in:
parent
4360e40aa2
commit
41da84c6f9
|
@ -3,7 +3,6 @@
|
|||
## Install
|
||||
|
||||
```bash
|
||||
git clone https://bitbucket.org/pSox/psoxizsh.git ~/.psoxzish
|
||||
cd ~/.psoxizsh
|
||||
git submodule update --init --recurse --recursive --jobs=2
|
||||
git clone --recurse-submodules --recursive --config http.sslVerify=false https://bitbucket.org/pSox/psoxizsh.git ~/.psoxzish
|
||||
~/.psoxizsh/fresh-system
|
||||
```
|
||||
|
|
10
fresh-system
10
fresh-system
|
@ -2,11 +2,11 @@
|
|||
|
||||
(
|
||||
cd ~
|
||||
[[ -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
|
||||
[[ -e /etc/arch-release ]] && sudo -i pacman -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
|
||||
|
|
Loading…
Reference in New Issue