Show me your PS1

Show me your PS1

PS1="\u@\h:\W\$ "

Other urls found in this thread:

github.com/banga/powerline-shell
github.com/nojhan/liquidprompt
twitter.com/SFWRedditGifs

where are your knee socks and dildos?

ye Sur son here is my PlayStation 1
>tfw nobody on /g understands my jokes

if only you were as good as making jokes as you're at sucking cocks.

PharmOutcomes git:(master) echo $PS1
${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)

>tfw you don't own a playstation 3

Ok

He said PS1 not PSone, get that faggot out of here.

PS1="\n\[\e[1;31m\]\A \w \[\e[0m\]\n "

Your the one whos a fag

>your
*you're

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\$ "

Not my photo

Also, it does true 240p

...

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.

Doesn't matter if I \W or \w, I still get ~

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.

"$PS1", the environment variable in a command-line interface which specifies the command prompt

You fuks are such nerds

then post a screen

github.com/banga/powerline-shell

Go back to where you came from

>look mom, im using powerline

> complaining about nerds on a board about technology
why are you even here?

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\] $ "

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.

>>your
>*you're
(you) reeeeeeeee

Windows fag detected

Go back to Sup Forums (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)

People write wrong here on purpose for some reason.

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

I came from Sup Forums thank you very much.

>go back to Sup Forums
yeah go back to Sup Forums!
Am I fitting in yet?

This

...

Normies

Normies everywhere

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)\]"

>power line
morelike
>nopower line
amirite?

>amirite?
Not really. It's reasonably powerful, it's just slow as fuck because Python.

Power = Work over time. Slow = not powerful.

Why not $ and #?

\[\e[1;34m\]\w\n\[\]\u\[\]@\[\]\h\[\]: \[\] $

>PINK
>WOMAN
>GRILL
>Sup Forums

REEEEEEEEEEEEEEEEEEEEEEEEEE

Because % makes me feel like I'm on BSD, duh

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%}

Forgot pic.

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.

Y-Yes? This is what I was showing, and how to do it in fish.

What is fish?
~$ fish
bash: fish: command not found
127 ~$

the friendly interactive shell.
in fact it's so friendly, it sometimes randomly decides to take 100% cpu.

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.

Source? How do you reproduce that, and is there a bug reported for it?

>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

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

Don't reply to people who post their playstation instead of their PS1.

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.

PS1="8=====>~~"