A collection of bashrc settings, utility functions/scripts, and QOL enhancements, and third-party tools (ex: LiquidPrompt) via .bashrc
home/.bashrcis the entry point (oncesetup-host.shhas been run).home/contains all of the files that will be moved to$HOMEor symlinked from$HOMEetc/contains bashrc_aliases and bashrc_functions sourced by .bashrcbin/contains useful custom command-line utilities for specific tasks, such as bash one-liners you want to save or mini-programs/macro-style scriptsliquid/contains all the liquidprompt files for prompt customizationthirdparty-scriptshas all the 3rd party dependencies that some of the utilities requireetc/credentials/files don't get stored in this repository; use this directory for things like your aws-cli credentials and such
setup-host.sh creates a symlink from $HOME/.bashrc to ~/.prompt/home/.bashrc
- Clone this project to your local machine
- Move the 'prompt' directory (the root dir of this project) to $HOME/.prompt
- In your shell,
cdto your $HOME directory, runsh prompt/setup-host.sh cd ~/.promptand runnpm install. If you don't have npm, https://nodejs.org/en/download/- Restart your shell sessions, or run
source ~.bashrcin your terminal to load the new .bashrc settings
The .setup-host script should preserve your original .bashrc file, but I would back up these files if you are at all concerned about them being overwritten and lost forever:
- .bashrc
- .toprc
- .npmrc
- .emacs
- .emacs.d/
- liquidprompt (heavily customized)
- utility scripts found in
~/.prompt/bin