A collection of bashrc settings, utility functions/scripts, and QOL enhancements, and third-party tools (ex: LiquidPrompt) via .bashrc
home/.bashrc
is the entry point (oncesetup-host.sh
has been run).home/
contains all of the files that will be moved to$HOME
or symlinked from$HOME
etc/
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-scripts
has 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,
cd
to your $HOME directory, runsh prompt/setup-host.sh
cd ~/.prompt
and runnpm install
. If you don't have npm, https://nodejs.org/en/download/- Restart your shell sessions, or run
source ~.bashrc
in 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