Your PROMPT - Desktop Customization & Workflow
Users browsing this thread: 1 Guest(s)
|
|||
Hello *nixer,
So here we go: "Show us your PROMPT" here my old one: and my current: The configs might change if you are using a different shell so posting the configs will be useless. Reproducing the same PROMPT should not be that hard. Only post the prompt without the whole desktop and no spoilers. |
|||
|
|||
|
|||
|
|||
PS1="%{%B$fg[white]%}[%{$fg[grey]%}%~%{%B$fg[white]%}]%{%B$fg[white]%}--%{$fg[yellow]%}» %{$reset_color%}" |
|||
|
|||
1. Insert mode
2. Version Control 3. Normal mode 4. Insert mode 5. Error Code Spiced up with syntax highlighting. -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCA/IT d-(---)@ s+: a-- C+++(++++)$ UBL*+++ P+++>++++ L++ E W+++$ !N !o K !w !O M+>++ !V PS+++ PE !Y PGP+ !t-- !5 !X R@ tv- b+ DI D+ G e h r++ y+ ------END GEEK CODE BLOCK------ |
|||
|
|||
My last prompt before my screen broke:
Zsh. |
|||
|
|||
|
|||
Might as well revive this thread
|
|||
|
|||
Same old shit as before. Same as 20 years ago in DOS.
|
|||
|
|||
(20-11-2012, 05:18 PM)bash Wrote:(24-10-2012, 02:10 PM)Mafia Wrote: My last prompt before my screen broke: Thanks, I also love it very much. (20-11-2012, 05:55 PM)NeoTerra Wrote: Nice Mafia. Also the first two images in this thread weren't working... Hmm, not sure why. It works great for me, and worked for the person above you. And they are the same images from HF that work well. Maybe it's you 0.0 |
|||
|
|||
Back to three-line prompts:
-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCA/IT d-(---)@ s+: a-- C+++(++++)$ UBL*+++ P+++>++++ L++ E W+++$ !N !o K !w !O M+>++ !V PS+++ PE !Y PGP+ !t-- !5 !X R@ tv- b+ DI D+ G e h r++ y+ ------END GEEK CODE BLOCK------ |
|||
|
|||
|
|||
|
|||
My term, just a simple one. figlet/toilet and a network tester against my server to see if it is online or not.
"TheHotBot" Aka NeverW8!
I can be seen on the IRC from time to time :) |
|||
|
|||
|
|||
Purple? You're not running Ubuntu, are you?
-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCA/IT d-(---)@ s+: a-- C+++(++++)$ UBL*+++ P+++>++++ L++ E W+++$ !N !o K !w !O M+>++ !V PS+++ PE !Y PGP+ !t-- !5 !X R@ tv- b+ DI D+ G e h r++ y+ ------END GEEK CODE BLOCK------ |
|||
|
|||
heh it's iTerm almost default configs.
|
|||
|
|||
|
|||
|
|||
You got drugs at home? Don't let the Feds see that...
-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCA/IT d-(---)@ s+: a-- C+++(++++)$ UBL*+++ P+++>++++ L++ E W+++$ !N !o K !w !O M+>++ !V PS+++ PE !Y PGP+ !t-- !5 !X R@ tv- b+ DI D+ G e h r++ y+ ------END GEEK CODE BLOCK------ |
|||
|
|||
(09-12-2012, 09:50 AM)Beastie Wrote: ![](http://i.imgur.com/8gvU8.png) What font is that? Looks nice. |
|||
|
|||
(24-12-2012, 02:57 PM)gurhush Wrote:(09-12-2012, 09:50 AM)Beastie Wrote: ![](http://i.imgur.com/8gvU8.png) It's pragmata. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
I use zsh with pretty simple prompt. I have to include hostname there since I ssh a lot.
What's fancy about it is VCS support + Vim mode hacks. That's how my prompt looks in insert mode (which is default): That's how my prompt looks in normal mode (after esc/ctrl-[ ): Works well with tmux. Inside git repository (works with others too): those ?! indicates what changed and does we have stagged changes, unstaged, modified files, untraced files, etc. [My configuration](https://github.com/ivyl/zsh-config/blob/...prompt.zsh). |
|||
|
|||
Did some slight modifications:
Default: Debug mode: Active Python virtualenv: Error code: VCS status: Background jobs: ZLE Vim "Normal" mode: Code: setprompt() { -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCA/IT d-(---)@ s+: a-- C+++(++++)$ UBL*+++ P+++>++++ L++ E W+++$ !N !o K !w !O M+>++ !V PS+++ PE !Y PGP+ !t-- !5 !X R@ tv- b+ DI D+ G e h r++ y+ ------END GEEK CODE BLOCK------ |
|||
|
|||
Simplicity itself:
|
|||
|
|||
Ewwwyyy Beastie..
crshd, now he has the idea :) |
|||
|
|||
|
|||
Here's to necroing threads :P
My current (zsh) prompt: Explanation: The green "dotted box" represents the user, because the user (dot) lives within a boxed-in set of permissions. Root gets the lightning bolt because "power." It sounded more clever in my head...
Github: https://github.com/darthlukan
CRUX Ports: http://ports.brianctomlinson.com GPG: 3694569D "We're all human, act accordingly." -- Me |
|||
|
|||
Also showing off my favorite little tab completion script, but I like to keep it basic. I do have an issue or two here and there with the script that checks whether I'm in a git repository, but I'm too lazy to fix it.
|
|||
|
|||
Tab completion is so nice. Cute prompt.
|
|||
|
|||
I had multiple prompts. My first was 4 lines! Furthermore, I am using bash (just because I do not always work on my machine and bash is everywhere), so each tab was redisplaying these 4 lines + the completion!
- Empty line - A whol useless delimiter line ────── - The time of execution (current time), directory, git branch. - number of jobs, last error number green or red, actual prompt string: > A workaround was to use PROMPT_FUNCTION='_prompt', and in the prompt function, there were a call to printf, that has the advantage to: - Permit to print a right prompt; - Permit to print some string anywhere in the terminal, like at the top, to display the path, time, etc there instead of bloating the prompt; - Set the terminal window title; - Is not redisplayed after each completion; - Can catch the last exit job. I removed the ──────. Following <a href="http://github.com/dcat/swm">dcat screen</a> and z3bra advises, I removed even the path, and now, and it is as small as this: <img src="http://i.imgur.com/whozZpC.png"> A bit like gurhush but still with a newline for clarity, and darthlukan, but with colors to indicate the different states rather than strings. I use the same in my <code><a href="http://blog.z3bra.org/2013/11/plain-old-mails.html">.mailrc</a></code>. To get colors in the bash completion, you can ad this readline option in you .inputrc: <pre>set colored-stats on</pre> |
|||