Easy shell configs for setup
git clone https://github.com/jerrywdlee/my-shell-configs.git ~/.my-shell-configs
echo -e "\nsource \$HOME/.my-shell-configs/bash/my_shell.bash\n" >> ~/.bash_profile && source ~/.bash_profile
On 1st run, it will download dependency scripts from github.
echo -e "\n. \$HOME/.my-shell-configs/zsh/my_shell.bash\n" >> ~/.zshrc && . ~/.zshrc
# if need nodenv or rbenv etc.
echo -e "\n. \$HOME/.my-shell-configs/lib/env_options.sh\n" >> ~/.zshrc && . ~/.zshrc
echo -e "\nsource \$HOME/.my-shell-configs/termux/my_shell.bash\n" >> ~/.bash_profile && . ~/.bash_profile
echo -e "\nsource \$HOME/.my-shell-configs/MinGW/my_shell.bash\n" >> ~/.bash_profile && source ~/.bash_profile
# Example: add an Raspberry Pi like PS1 with git functions
## in ~/.bash_profile
# ...
source $HOME/.my-shell-configs/bash/my_shell.bash
export PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \[\033[01;34m\]$(__git_ps1 "[\[\033[36m\]$(__my_git_prompt_repo_name) \[\033[31m\]%s\[\033[01;34m\]]")\$\[\033[00m\] '
# ...
GNU General Public License v3.0
Copyright (C) 2018 Jerry Lee