• Post your shell prompt
    43 replies, posted
Lexic [url=http://facepunch.com/threads/1181032?p=36050393&viewfull=1#post36050393]came up with this idea in WAYWO[/url], so I thought it might be a cool idea to make a thread where we can all show off our shell prompts and admire each others. I'll get the ball rolling with mine: [img]http://i.imgur.com/8ZWLM.png[/img] Here's the source: [code] red=`tput setaf 1` green=`tput setaf 2` blue=`tput setaf 6` yellow=`tput setaf 3` reset=`tput sgr0` bold=`tput bold` function prompt-normal { PS1="\[\033[G\]\[$yellow\]\w \[$blue\]\$(git branch 2> /dev/null | grep -e '\* ' | sed 's/^..\(.*\)/\1 /')\[$red\]\$(rvm current) \[$green\]\[$bold\]% \[$reset\]" } function prompt-min { PS1="\[\033[G\]\[$green\]\[$bold\]% \[$reset\]" } prompt-normal [/code]
[img]http://i.imgur.com/x83np.jpg[/img] sup
[img]http://i.imgur.com/OBup9.png[/img] Still using the Developer Preview, because I'm a developer, and I'm not going to be Windows 8 consumer.
[img]http://i.imgur.com/NEblV.png[/img]
[IMG]http://i.imgur.com/iMYzG.png[/IMG] It's green because that's how you know someone is hacking in movies.
[img]http://farmpolice.com/content/images/arch.png[/img] My terminal on my portable usb os.
[IMG]https://public.bay.livefilestore.com/y1ps914Ori3hcrTxGVx5tbtx9uuOIvxy863HlAJ8jCyLvPfNf0zUioJlYLiGi_3jJ71_7vyuyJzMuzUcVyF38A5gw/Image%20006.PNG[/IMG] Ehh.
everyone posting cmd.exe thinking you're hilarious: you're not don't
[QUOTE=swift and shift;36066222]everyone posting cmd.exe thinking you're hilarious: you're not don't[/QUOTE] [IMG]http://i.imgur.com/3y5GT.png[/IMG] Is that better?
[QUOTE=swift and shift;36066222]everyone posting cmd.exe thinking you're hilarious: you're not don't[/QUOTE] you're an idiot if you expected any different.
[QUOTE=swift and shift;36066222]everyone posting cmd.exe thinking you're hilarious: you're not don't[/QUOTE] Very few people make OSes in their free time.
[QUOTE=Smashmaster;36067065]Very few people make OSes in their free time.[/QUOTE] what
[QUOTE=Smashmaster;36067065]Very few people make OSes in their free time.[/QUOTE] I'm sorry what?
[QUOTE=kaukassus;36068135]I'm sorry what?[/QUOTE] It seems like this thread is for people who have made/are making an operating system. "Hey check out my cool Javascript OS's shell prompt!" Otherwise we would just get like 80 pictures of cmd.exe Or I'm completely retarded and don't understand what a shell prompt does. I guess you don't need to make an OS to have a customized shell prompt. That would explain why my post doesn't make sense. The "I'm completely retarded" solution seems pretty likely
Linux has customisable shells, and this thread really should belong in the Linux section as Linux nerds are shunned here; while windows only has cmd.exe
[QUOTE=Smashmaster;36070019]It seems like this thread is for people who have made/are making an operating system. "Hey check out my cool Javascript OS's shell prompt!" [B]Otherwise we would just get like 80 pictures of cmd.exe[/B] Or I'm completely retarded and don't understand what a shell prompt does. I guess you don't need to make an OS to have a customized shell prompt. That would explain why my post doesn't make sense. The "I'm completely retarded" solution seems pretty likely[/QUOTE] exactly.
[IMG]http://i.imgur.com/ZEuVz.png[/IMG] time, user, hostname, ruby version (for RVM), git branch, git status, current directory Red X turns in to a green checkmark if there are no uncommitted changes to the git repo.
[img]http://puu.sh/wplE[/img] Mine broke from a bsod
[img]http://i.imgur.com/XMBvI.png[/img]
[img]http://gabrielecirulli.com/p/20120524-002355.png[/img]
[IMG]http://puu.sh/wqcv[/IMG]
ubuntuvm? lappy? ALEX-PC? ya'll have boring ass hostnames.
[QUOTE=synthiackup;36072182]ubuntuvm? lappy? ALEX-PC? ya'll have boring ass hostnames.[/QUOTE] oi I name my children properly! I have a desktop, laptop, and two servers in my basement. Behold, they are named Winston, James, Charles, and Steve accordingly.
[QUOTE=synthiackup;36072182]ubuntuvm? lappy? ALEX-PC? ya'll have boring ass hostnames.[/QUOTE] [IMG]http://puu.sh/wthA[/IMG]
[IMG]http://upload.TheMagicPony.com/hidden/2012-05-24_09-59-13.png[/IMG]
[QUOTE=KmartSqrl;36070713][IMG]http://i.imgur.com/ZEuVz.png[/IMG] time, user, hostname, ruby version (for RVM), git branch, git status, current directory Red X turns in to a green checkmark if there are no uncommitted changes to the git repo.[/QUOTE] Could you do [code] echo $PS1 [/code] and post the result? It looks really awesome! [editline]24th May 2012[/editline] Or rather, could you please post the source of that? It looks incredibly awesome!
[QUOTE=T3hGamerDK;36076651]Could you do [code] echo $PS1 [/code] and post the result? It looks really awesome! [editline]24th May 2012[/editline] Or rather, could you please post the source of that? It looks incredibly awesome![/QUOTE] Aren't 2-line prompts a bit annoying?
[QUOTE=TerabyteS_;36080684]Aren't 2-line prompts a bit annoying?[/QUOTE] Well, there's a few things I don't like about it, such as the 2-line prompt, but all in all, it looks amazing to me.
[QUOTE=T3hGamerDK;36076651]Could you do [code] echo $PS1 [/code] and post the result? It looks really awesome! [editline]24th May 2012[/editline] Or rather, could you please post the source of that? It looks incredibly awesome![/QUOTE] It's an oh-my-zsh theme that I modified. I'll post it on github or something when I get a chance. [QUOTE=TerabyteS_;36080684]Aren't 2-line prompts a bit annoying?[/QUOTE] I like that everything stays in the same horizontal position a bit more this way, I had it on one line for a while but I didn't like how long it was. It's not like I don't have enough screen space for an extra line haha.
User terminal vs. root terminal [img]http://gabrielecirulli.com/p/20120524-230139.png[/img]
Sorry, you need to Log In to post a reply to this thread.