#!/usr/bin/env sh # # This script should be run via curl: # sh -c "$(curl -fsSL https://raw.githubusercontent.com/codinn/core-shell-scripts/master/install.sh)" # or wget: # sh -c "$(wget -qO- https://raw.githubusercontent.com/codinn/core-shell-scripts/master/install.sh)" # # As an alternative, you can first download the install script and run it afterwards: # wget https://raw.githubusercontent.com/codinn/core-shell-scripts/master/install.sh # sh install.sh # set -e cat >~/.shrc_Core_Shell <> ~/.bash_profile grep -qs "\.shrc_Core_Shell" ~/.zshrc || printf '\n[[ -n "$SSH_TTY" || -n "$SSH_CONNECTION" ]] && [ -r "$HOME/.shrc_Core_Shell" ] && . "$HOME/.shrc_Core_Shell" || true' >> ~/.zshrc rm -rf ~/.bashrc_Core_Shell