You are not logged in.
Pages: 1
How can I make my terminal like this -> https://drive.google.com/file/d/17Cfphm … p=drivesdk
Offline
https://bbs.archlinux.org/viewtopic.php?id=50885
Is that what you mean?
Offline
How can I make my terminal like this -> https://drive.google.com/file/d/17Cfphm … p=drivesdk
I do not have exactly the same look of the terminal. Mine looks more like this: https://duckduckgo.com/?q=powerlevel+10 … ntrast.png
However, you can customise it to suit you. It is powerlevel10k + zsh shell. You can really play with it and get an amazing terminal look. Definitely check it out.
I will send you a video that would help you setting zsh+powerlevel10k:
https://www.youtube.com/watch?v=ynL1fYncZ1E
And a cheat sheet:
https://christitus.com/zsh/
Arch wiki page:
https://wiki.archlinux.org/index.php/Zsh
You can choose whether you want single line or double line design and many other options.
Hope this helped.
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
That's the PS1 prompt and it doesn't require a specific shell, font or whatever to get what's visible in the screenshot.
https://wiki.archlinux.org/index.php/Ba … tomization
Here's a bunch of control chars you can use:
https://en.wikipedia.org/wiki/Box-drawing_character
For the more fancy stuff as in othersamo_'s link: https://wiki.archlinux.org/index.php/Powerline
Offline
Um ... "It doesn't require a specific shell ... <link-to-BASH-shell-specific-page>"
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Hey, I'm not responsible for the structure of the arch wiki :-P
There's no general wiki page on the PS1, but
https://en.wikipedia.org/wiki/Command-l … and_prompt
(also let's be real, OP is either using bash or maybe zsh - where this trivial PS1 syntax will apply. This should™ even work w/ ash)
Offline
I was being a bit facetious due to the odd juxtaposition - and I looked for good generic sources for PS1 configuration ... my search didn't turn up much of value. However, most "customize your BASH prompt" pages found via a web search actually are generic, despite referring only to BASH. A fair bit of the wiki page you linked to though, is really is BASH-specific (e.g. PROMPT_COMMAND, PS3 + PS4).
Aside: I really don't get why some guides make so much use of tput instead of ANSI sequences. Some user's PS1s end up running several dozen subshells and several dozen instances of tput just to get colors that ANSI codes would do much more efficiently and will a shorter PS1 string.
Last edited by Trilby (2020-12-24 14:30:35)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
I really don't get why some guides make so much use of tput
terminfo fuckups, I assume.
And then copy and paste, of course.
Happy Festivus.
Offline
PrabhatProxy, be careful how you set your PS1 if bash isn't your main shell, as Trilby tells you:
Um ... "It doesn't require a specific shell ... <link-to-BASH-shell-specific-page>"
A dog is a man's best friend.
Offline
Pages: 1