Requires:
git trash-cli zsh-syntax-highlighting
Prompt changes dinamically if a script .config/zsh/.shell_prompt
exists, otherwise fallback to a custom prompt.
fast-syntax-highlighting
is used for coloring.
aliased rm -i
as fallback when other "removal protection" aliases are defined.
- history
- auto cd
- auto completion with tab
rm
uses is redefined to usetrash
instead
other options are just shortcuts.
same as default prompt with $additional
variable at the end to modify it at runtime
the method check if the directory is a git repo and if has a remote. if both are true:
- retrieves info
- styles with colors
- changes colors based on value
- constructs the exit_status string