diff options
author | Malfurious <m@lfurio.us> | 2021-07-20 23:43:04 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2021-07-20 23:43:04 -0400 |
commit | c4da5e91d0533b647b9a043e02490f1886c1da0f (patch) | |
tree | 15a2191eb3d05dc856e62933122392c041c9deba /prompt.zsh | |
parent | 341505b634a87be8af2f03c2db9894fa047d9f43 (diff) | |
download | git-sonar-c4da5e91d0533b647b9a043e02490f1886c1da0f.tar.gz git-sonar-c4da5e91d0533b647b9a043e02490f1886c1da0f.zip |
Merge bash/zsh/fish color modes together
This commit removes the differences between the supported shells and
removes the options: --bash, --fish, and --zsh.
I can not produce any problems in any of these shells using a generic
form of the text coloring (ie: the one bash was using), so for
simplicity I will opt to unify the way colors are handled and remove
knowledge of the running shell.
Something that _may_ end up being a problem is properly rendering the
prompt in different terminal emulators. If this is of concern, it will
be dealt with at a later time.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'prompt.zsh')
-rwxr-xr-x | prompt.zsh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/prompt.zsh b/prompt.zsh deleted file mode 100755 index 9c812ac..0000000 --- a/prompt.zsh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env zsh - -dot="$(cd "$(dirname "$0")" || exit; pwd)" -source "$dot/sonar-base.sh" - -if is_repo; then - autoload colors && colors - - prepare_zsh_colors - render_prompt -fi |