Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avit theme fixes #4790

Merged
merged 9 commits into from Mar 11, 2016
Merged

Avit theme fixes #4790

merged 9 commits into from Mar 11, 2016

Conversation

lckarssen
Copy link
Contributor

This pull request contains a fix for the use of $CARETCOLOR in the avit theme, so that a sudo change to root makes the caret red.

The pull request also contains a small improvement to the theme: it makes the colours of the current directory, return status and two git symbols bold so that they stand out more on dark terminals (like in the Ubuntu default theme).

…so change to root user wouldn't show in the prompt.
…in the $PWD shorten the path by removing some middle parts if $PWD becomes too long.
In commit 729fd53 I incorrectly only changed PROMPT1. Now both ▶ and ◀ follow $CARETCOLOR.
Make some colours in the avit theme bold for better visibility in the
default Ubuntu terminal theme.
$CARETCOLOR was not to actually colour the caret, so change to root user
wouldn't show in the prompt. Now both ▶ and ◀ follow $CARETCOLOR.
robbyrussell added a commit that referenced this pull request Mar 11, 2016
@robbyrussell robbyrussell merged commit 83cf8dc into ohmyzsh:master Mar 11, 2016
@mcornella
Copy link
Member

This added the _current_dir function but didn't use it in the prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants