[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]

Show me your PS1 PS1="\u@\h:\W\$ "

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: 68
Thread images: 15

File: ps1.jpg (21KB, 750x410px) Image search: [Google]
ps1.jpg
21KB, 750x410px
Show me your PS1

PS1="\u@\h:\W\$ "
>>
>>57585951
where are your knee socks and dildos?
>>
File: HDD_-_Noire.png (743KB, 759x1692px) Image search: [Google]
HDD_-_Noire.png
743KB, 759x1692px
>>57585940
ye Sur son here is my PlayStation 1
>tfw nobody on /g understands my jokes
>>
>>57586084
if only you were as good as making jokes as you're at sucking cocks.
>>
>>57585940
PharmOutcomes git:(master) echo $PS1
${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)
>>
>tfw you don't own a playstation 3
>>
File: IMG_20161119_211721.jpg (3MB, 4000x2992px) Image search: [Google]
IMG_20161119_211721.jpg
3MB, 4000x2992px
Ok
>>
>>57589596
He said PS1 not PSone, get that faggot out of here.
>>
>>57585940
PS1="\n\[\e[1;31m\]\A \w \[\e[0m\]\n      "
>>
>>57589608
Your the one whos a fag
>>
>>57589747
>your
*you're
>>
>>57585940
I quit GNU + Linux when they allowed a virus to corrupt it; you can have this:
PS1='\[\033[1;36m\]┌─[\[\033[1;33m\]\t\[\033[1;36m\]]──[\[\033[1;31m\]\w\[\033[1;36m\]]\n└─>\$ \[\033[0;38m\]'
>>
PS1="\u@\h:\W\$ "
>>
>>57585940
Not my photo

Also, it does true 240p
>>
File: Y9Lm52y.jpg (517KB, 2448x3264px) Image search: [Google]
Y9Lm52y.jpg
517KB, 2448x3264px
>>57590176
>>
>>57585940
PS1='#'; (( USER_ID )) && PS1='$'; \: "${TERM:=vt100}${HOSTNAME:=$(\ulimit -c \
0; hostname 2>/dev/null)}${EDITOR:=/bin/vim}${USER:=$(\ulimit -c 0; id -un \
2>/dev/null || \echo \?)}${MKSH:=$(\builtin whence -p mksh)}"
HOSTNAME=${HOSTNAME%%*([ ]).*}; HOSTNAME=${HOSTNAME##*([ ])}
[[ $HOSTNAME = ?(ip6-)localhost?(6) ]] && HOSTNAME=
\: "${HOSTNAME:=nil}${MKSH:=/bin/mksh}"; \export EDITOR HOSTNAME MKSH TERM USER
PS4='[$EPOCHREALTIME] '; PS1=$'\001\r''${|
\typeset e=$?

(( e )) && REPLY+="$e|"

\typeset d=${PWD:-?} p=~; [[ $p = ?(*/) ]] || d=${d/#$p/\~}
\typeset m=${%d} n p=...; (( m > 0 )) || m=${#d}
(( m > (n = (COLUMNS/3 < 7 ? 7 : COLUMNS/3)) )) && d=${d:(-n)} || p=
REPLY+=$p$d

\return $e
} '"$PS1 "

pretty much the standard prompt that came with mksh but with user and hostname removed.
>>
File: 1463001590337.jpg (30KB, 450x420px) Image search: [Google]
1463001590337.jpg
30KB, 450x420px
Doesn't matter if I \W or \w, I still get ~
>>
>>57585940
>>57587700
>>57589712
>>57589793
>>57589980
>>57590373
The fuck even is this shit and what the fuck does it have to do with PS1
>>
PS1=" ${PINK}\w ${WHITE}── "
>>
With bash
RED="\[$(tput setaf 1)\]"
GREEN="\[$(tput setaf 2)\]"
BLUE="\[$(tput setaf 4)\]"
RESET="\[$(tput sgr0)\]"
PS1="${RESET}[\$([[ \$? == 0 ]] && echo \"${GREEN}\$?\" || echo \"${RED}\$?\")${RESET}] ${BLUE}\w${RESET} "
unset RESET GREEN BLUE RED


With zsh,
PS1="[%(?.%{$fg[green]%}%?%{$reset_color%}.%{$fg[red]%}%?%{$reset_color%})] %{$fg[blue]%}%~ %{$reset_color%}"


Both are unreadable.
>>
>>57591854
"$PS1", the environment variable in a command-line interface which specifies the command prompt
>>
You fuks are such nerds
>>
>>57591957
then post a screen
>>
>>57591854
>>>/v/

Go back to where you came from
>>
File: 1479453242576.jpg (85KB, 680x680px) Image search: [Google]
1479453242576.jpg
85KB, 680x680px
>>57592400
>look mom, im using powerline
>>
>>57592324
> complaining about nerds on a board about technology
why are you even here?
>>
>>57589608
What in the world is a PS1 I've never heard of it
>>
export PS1="\[\033[95m\]\u@local \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "
>>
>>57592756
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
>>
PS1="\W% "
PS1="\W# " for le root
>>
PS1='\[$(test "$?" -ne 0 && printf "\e[31m")\]'"$PS1"'\[\e[m\a\]'

the test colors PS1 red if the previous command had a nonzero exit status. the alarm bell is caught by urxvt and raises the urgent flag in my window manager whenever a command finishes.
>>
Kids today don't even know what the playstation one was. Some even don't know about PS2. Shame ain't it.
>>
>>57589760
>>your
>*you're
(you) reeeeeeeee
>>
>>57591854
Windows fag detected
>>
>>57592749
Go back to /v/ (PS1 is a configuration you can change to decide what information is visible to you normally on the command line. It is often used to make the command line pretty)
>>
>>57589760
People write wrong here on purpose for some reason.
>>
>>57585940
https://github.com/nojhan/liquidprompt
>>
i remember how much fun it was to play CD's on PS1, it would put squiggly lines on TV and you could manipulate it with controller

we had tons of fun doing that on hallucinogens back in high school days

was super disappointed that PS2 didn't have this feature
>>
>>57592614
I came from /b/ thank you very much.
>>
>>57592614
>>57593325
>go back to /v/
yeah go back to /v/!
Am I fitting in yet?
>>
>>57592846
This
>>
File: reddit_you_have_to_go_back.jpg (109KB, 800x820px) Image search: [Google]
reddit_you_have_to_go_back.jpg
109KB, 800x820px
>>57594889
>>
>>57591854
Normies

Normies everywhere
>>
>>57585940
Have fun
export PS1="\[$(tput bold)\][\[\e[01;32m\]\u\[\e[m\]@\[\e[01;35m\]\h\[\e[m\]\[$(tput bold)\]] \[\e[01;34m\]\w\[\e[m\] \[\e[01;32m\]\\$\[\e[m\] \[$(tput bold)\]> \[$(tput sgr0)\]"
>>
>>57592400
>power line
morelike
>nopower line
amirite?
>>
>>57594935
>amirite?
Not really. It's reasonably powerful, it's just slow as fuck because Python.
>>
>>57595392
Power = Work over time. Slow = not powerful.
>>
>>57592846
Why not $ and #?
>>
>>57585940
\[\e[1;34m\]\w\n\[\]\u\[\]@\[\]\h\[\]: \[\] $
>>
>>57591886
>PINK
>WOMAN
>GRILL
>4CHAN

REEEEEEEEEEEEEEEEEEEEEEEEEE
>>
>>57595562
Because % makes me feel like I'm on BSD, duh
>>
>>57585940
PS1='>>'
>>
PS1="8==>~ "
>>
Here is my fish_prompt.fish
function fish_prompt
set -l last_status $status
set_color -b blue
set_color -o white
echo -n -s " " (prompt_pwd) " "
if test -n "$CMD_DURATION" -a "$CMD_DURATION" -gt 5000
set_color -b purple
set_color -o white
echo -ns " "
if test $CMD_DURATION -gt 60000
echo -ns (math $CMD_DURATION / 60000) "m"
end
echo -ns (math $CMD_DURATION \% 60000 / 1000) "s "
end
set_color white
if test $last_status -eq 0
set_color -b green
else
set_color -b red
end
echo -n " λ "
set_color normal
echo " "
end
>>
%{$fg[blue]%}%~ $(git_prompt_info)$(bzr_prompt_info)[%n@%m] [%*]%{$reset_color%} $(emoji-clock)
%{$fg_bold[black]%}>%{$reset_color%}
>>
File: mpv-shot0002.jpg (19KB, 491x125px) Image search: [Google]
mpv-shot0002.jpg
19KB, 491x125px
>>57598040
Forgot pic.
>>
File: question-girl.jpg (18KB, 320x308px) Image search: [Google]
question-girl.jpg
18KB, 320x308px
>>57598067
That joke is cool.

chkec () {
local i=$?
if [ $i -ne 0 ]
then
echo -n "$i "
fi
}
PS1='\[\a\e[1;31m\]$(chkec)\[\e[0m\]\u@\h:\w\$ '


You should try it. It's awesome to have error code in the PS1.
>>
>>57598483
Y-Yes? This is what I was showing, and how to do it in fish.
>>
>>57598584
What is fish?
~$ fish
bash: fish: command not found
127 ~$
>>
>>57598598
the friendly interactive shell.
in fact it's so friendly, it sometimes randomly decides to take 100% cpu.
>>
>>57598598
It's an alternative shell, like zsh. Some of its characteristics:
- not posix compliant
- good defaults out of the box
- still quite configurable
- less crazy builtin syntax (than say, bash), more commands piping

I quite like it.
>>
>>57598620
Source? How do you reproduce that, and is there a bug reported for it?
>>
File: christ.png (21KB, 640x404px) Image search: [Google]
christ.png
21KB, 640x404px
>>57589596
>playstation controller plugged into psone controller

Original playstation controller had a rectangle plug while the PSones was more circular

colour diff too obv

Still, disgusting.

Man the original Playstation looks so much cooler. Also the newer revisions of the playstation with the god awful acid trip memory card screen instead of being the nice and functional grey square shit. Pic related literally disgusting
>>
>>57598632
>Source?
source is myself. However, it's been a while since I've tried fish shell, so it's possible that they fixed it by now.
>How do you reproduce that
I'm not really sure what was causing it, so I don't know how to reproduce it.
> is there a bug reported for it?
There are several related issues on github. just search for fish shell cpu usage.
>>
>>57598686
Don't reply to people who post their playstation instead of their PS1.
>>
>>57598686
I have an original playstation that still works just fine.

It's a shame that memory cards are still so limited though, and that you still have to use fucking discs.
>>
File: 1470659833838.png (106KB, 475x382px) Image search: [Google]
1470659833838.png
106KB, 475x382px
>>57597836
PS1="8=====>~~"
Thread posts: 68
Thread images: 15


[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.