[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

$PS1

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 2

File: PS1.png (3KB, 325x56px) Image search: [Google]
PS1.png
3KB, 325x56px
$PS1 thread. Post 'em.

\e[41;1m \u@\h \e[43;1m \w \e[42;1m \d \e[46;1m \t \e[0m\n$ 
>>
File: $PS1.png (20KB, 795x356px) Image search: [Google]
$PS1.png
20KB, 795x356px
>>
>newline
>>
>>59528378
When you get 32 levels deep in a folder you really start to appreciate it.
>>
Have a fishy fish ><(((°>.

export PS1='\n\[\e[00;31m\]><\[\e[01;31m\](\[\e[00;31m\](\[\e[01;31m\](\[\e[00;37m\]°\[\e[00;31m\]>\[\e[m\] '
>>
>>59528286
the more shit you add to your PS1 the slower it is.
I don't understand macfags who literally insert a python script into their prompt, it makes the prompt take nearly a whole second to appear.
>>
>>59528527
The PS1 I posted takes exactly the same amount of time as a plain PS1='$ ', and my computer is a ~6 year old piece of shit.

>mac
>python script into their prompt
dafuq you talking about?
>>
>>59528286
Hey im new here and trying to get into this stuff. What's going on here?
>>
Master race right here. I built this two years ago and use it on every machine. Add @host name if you have the same username on multiple machines.

\[\033[01;30m\]\@ \u\[\033[01;34m\] \w \[\033[00m\]


Try it out.
>>
>>59528591
The PS1 variable determines what your prompt looks like, and you can customize it in different ways. You can have colors, several variables (what time it is, the date, the directory, etc.), put together to give you helpful information.

For example, in OP, \u@\h:
\u expands to the username, and \h expands to the host, as
user@user-A780L
>>
>>59528591
The PS1 is a bash variable that represents your prompt. You can customize your PS1. Ie it could be anything you define it. Examples

$ 
Butt
>
$pwd >
>>
>>59528358
$100% XDDD

>>59528417
ok

>>59528623
Nice.
Thread posts: 12
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.