-
Notifications
You must be signed in to change notification settings - Fork 240
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
Features/git-info #99
Conversation
Hotfix - Screenshot
Release v1.3
Release v1.4
Update README in release v1.3
Hotfix v1.4.1
- Automatically has branch current location without always typing "git branch"
Show Current Branch Name
Signed-off-by: Andres Gongora <andresgongora@uma.es>
…ill not update Signed-off-by: Andres Gongora <andresgongora@uma.es>
…mand Signed-off-by: Andres Gongora <andresgongora@uma.es>
Signed-off-by: Andres Gongora <andresgongora@uma.es>
Signed-off-by: Andres Gongora <andresgongora@uma.es>
Well, it's WAY more ddificult that initially suspected. The main problem is that any function called using the hook |
I'd say that changing of color is not directly the issue... why would be change colors? I'd say better to not show "4th" bar and connected "arrow" at all when not in git repo, ought to be possible? :) |
You need access to some sort of memory for that. Once in that function, you
don't know what the 4th triangle is. And you can't generate it (the
decoration, that is) without the colors.
El mié., 12 jun. 2019 19:34, Sami Olmari <notifications@github.com>
escribió:
… I'd say that changing of color is not directly the issue... why would be
change colors? I'd say better to not show "4th" bar and connected "arrow"
at all when not in git repo, ought to be possible? :)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#99>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC36INUSVCNRRAIB53E4C3DP2EXSXANCNFSM4HXIG3KA>
.
|
Signed-off-by: Andres Gongora <andresgongora@uma.es>
Signed-off-by: Andres Gongora <andresgongora@uma.es>
I managed to clean everything up. I still want to make all elements optional, which I think I can do by assembling the However, I'm still unable to pass format information to |
I'm so sorry I wasn't on my laptop since I created that pull request.
|
@fikoborizqy Has had an idea in which two PS1 prompts are exported, and the one that is shown depends on whether the repository is a git folder or not (see #101 ). I like this idea. It still means that we are exporting information into the global environment... but this has be ignored for the sake of a beautiful prompt. I will merge #101 (and fix the conflicts) later today, and take the suggestion one step further to select specific elements for the prompt. |
Signed-off-by: Andres Gongora <andresgongora@uma.es>
…to features/git-info
Signed-off-by: Andres Gongora <andresgongora@uma.es>
- installation error fixed
Include `shorten_path.sh` to the files that are concatenated by `install.sh`
Signed-off-by: Andres Gongora <andresgongora@uma.es>
@fikoborizqy From your screenshot I see dome "noise" around the triangles that make up the prompt. If you want to fix that, consider installing the font HACK. Depending on the nix distribution you are using, it is sually called either |
Signed-off-by: Andres Gongora <andresgongora@uma.es>
Signed-off-by: Andres Gongora <andresgongora@uma.es>
Signed-off-by: Andres Gongora <andresgongora@uma.es>
Signed-off-by: Andres Gongora <andresgongora@uma.es>
Merging now. It's still not perfect. But it works. |
Thank you for your suggestion, it's awecome, I love it ;) |
getAbridgedPWD
and address Rewrite SHORT_PWD and add it to common #57git branch name
depending on the current directory, to omit the 4th triangle/separator when not needed.git-branch-name
.