diff --git a/README.md b/README.md index 08ad23c..5dfb443 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/fresh-system b/fresh-system index 9596917..09cef3b 100755 --- a/fresh-system +++ b/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