A spectacular (BaSH) prompt for *nix distributions. (Only tested on macOS currently)
Info | Badges |
---|---|
License | |
Chat |
promptMastermind is a prompt for BaSH on *nix distributions that includes a ton of useful functionality, including:
- A two-line prompt that displays username, hostname, and current path
- Git prompt support (that emits information about the current branch and status when in a git path)
- Better BaSH completion for git and git-flow
- Installation of dotnet-cli
- Bookmarking support (cdable variables)
- Variables support (add vars without modifying profile)
- Flush DNS (on macOS)
- Ability to enable and disable hidden files in Finder (on macOS)
- Display of available colors (already set as variables for use elsewhere)
- ... and much more!
Note: All "extensions" are implemented as sourced function calls, so it should not interfere with existing customization (aside from the prompt).
Install promptMastermind in one step:
curl -fsSL https://git.io/am-prompt | /usr/bin/env bash
(Optional) Open the included Monokai theme (currently only supported on macOS):
themes
Updating promptMastermind:
update-prompt
If you already have the latest version of prompt installed, the update-prompt
command will not re-install the
current version.
NOTE: The installer simply creates a new folder (.am) under the home folder and copies all of the files
there. It will backup this folder first. It wires up the "extensions" by adding a source command for
$HOME/.am/prompt/bashrc
to $HOME/.bash_profile
. It will not duplicate itself, so you can re-run the
installer or use the upgrade-prompt
command to upgrade at any time.
The backup folder is located at: $HOME/.am/prompt/backup/[date]
.
The $HOME/.bash_profile
is also backed up to $HOME/.am/prompt/backup/[date]/.bash_profile
.
© automotiveMastermind and contributors. Distributed under the MIT license. See LICENSE for details.