https://github.com/zeionara/colorful-prompt
Project that allows you to set up a better prompt which arguably is more beatiful than the default one and provides you more information about your environment.
https://github.com/zeionara/colorful-prompt
Last synced: 3 months ago
JSON representation
Project that allows you to set up a better prompt which arguably is more beatiful than the default one and provides you more information about your environment.
- Host: GitHub
- URL: https://github.com/zeionara/colorful-prompt
- Owner: zeionara
- License: apache-2.0
- Created: 2021-09-12T19:22:03.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T21:27:40.000Z (over 1 year ago)
- Last Synced: 2025-01-02T07:46:09.821Z (5 months ago)
- Language: Shell
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Colorful prompt
Project that allows you to set up a better prompt which arguably is more beatiful than the default one and provides you more information about your environment.
**Supports both - bash and zsh** (in zsh only default theme is supported so far)

# Installation
## Default
To perform a basic installation execute the following command on a target machine:
```sh
curl -Ls http://bit.ly/setup-colorful-prompt | bash
```## Step-by-step
The script mainly relies on the `lua` interpreter and `git` tool, so they both must be installed in your system for the new prompt to work.
Also it is of the major importance to **disable the default conda environment name output** using the following command:
```sh
conda config --set changeps1 false
```Finally, to enable the new look you need to update your `.bashrc` configuration file (which is located in the home directory as well) by including the following line in the end (the script's argument is optional and it contains the name of the color scheme to apply in case you want to customize it; all color schemes and their names, as well as the default scheme name are defined in the file `get-scheme-colors.sh`):
```sh
source $HOME/colorful-prompt/colorful-prompt.sh sunset
```