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

Use greek letters in the shell prompt #34

Closed
sinewalker opened this issue Mar 5, 2018 · 4 comments
Closed

Use greek letters in the shell prompt #34

sinewalker opened this issue Mar 5, 2018 · 4 comments
Milestone

Comments

@sinewalker
Copy link
Owner

sinewalker commented Mar 5, 2018

I very much like the lambda in eshell, instead of a dollar-sign:

~/Work/svn/puppet λ 

It would be nice to have something like this in bash too. Perhaps alpha or beta for normal and continuing prompts, and omega for root?

[mjl@milo:~]
[16:49]α sudo \
β bash
Password:
[root@milo:~]
[16:49]Ω
@sinewalker sinewalker added this to the 1.1-SUSE milestone Mar 5, 2018
@sinewalker
Copy link
Owner Author

sinewalker commented Mar 5, 2018

List of greek letters to select from: https://www.w3schools.com/charsets/ref_utf_greek.asp

or perhaps better: https://unicode-table.com/en/sets/greek-symbols/

Perhaps beta/alpha should be swapped? still to decide. very low priority, so this will probably be done quickly ;-)

@sinewalker
Copy link
Owner Author

for z-shell (if I ever use it, which is unlikely): ʓ
https://unicode-table.com/en/0293/

@sinewalker
Copy link
Owner Author

I think use β small letter beta for the primary prompt (because it evokes "bash", and also it still looks similar to traditional $)

For the secondary prompt, I think technically the greater-than should be replaced with one of these:

For all of them, only use the greek letters if the terminal's character encoding is UTF-8.

All of these work on a Linux UTF-8 terminal. I think the Succeeds / Succeeds under relation work better because they are heavier glyphs

@sinewalker
Copy link
Owner Author

sinewalker commented Mar 29, 2018

[mjl@hoppy:~]
[10:39]β sudo \
⊱ bash
Password:
[root@hoppy:~]
[10:39]Ω _

sinewalker added a commit that referenced this issue Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant