Releases: edouard-lopez/pure.py
Releases · edouard-lopez/pure.py
v1.4.0: Add git dirty marker
Add git dirty marker when there is untracked/uncommitted files in a repository.
Feature | bash |
elvish |
fish |
ksh |
powershell |
tcsh |
zsh |
---|---|---|---|---|---|---|---|
Display * when git repository is dirty |
✔ | ✔ | ✔ |
v1.3.0: Display git branch name
Display git branch name
Feature | bash |
elvish |
fish |
ksh |
powershell |
tcsh |
zsh |
---|---|---|---|---|---|---|---|
Display git branch name |
✔ | ✔ | ✔ |
v1.0.0: Config for Bash, Zsh and fish
Add workable configuration for Bash
, Zsh
and fish
:
Fish
cp $HOME/.pure/config/fish_prompt.fish $fish_config/functions/
echo 'set --global --export PURE_EXECUTABLE_PATH $HOME/.pure/' >> $fish_config/config.fish
exec fish
Zsh
cp $HOME/.pure/config/prompt.zsh $HOME/.zsh/
echo 'export PURE_EXECUTABLE_PATH=$HOME/.pure/' >> $HOME/.zshrc
echo 'source $HOME/.zsh/prompt.zsh' >> $HOME/.zshrc
exec zsh
Bash
mkdir ~/.bash/
cp $HOME/.pure/config/prompt.bash $HOME/.bash/
echo 'export PURE_EXECUTABLE_PATH=$HOME/.pure/' >> $HOME/.bashrc
echo 'source $HOME/.bash/prompt.bash' >> $HOME/.bashrc
exec bash