What's your $PS1?

What's your $PS1?

zsh with powerline-shell

somehting cool im not sure

PS1="\[\033[01;34m\]\u\[\033[00;37m\]@\[\033[01;34m\]\h\[\033[00;37m\][\W] \$ "

(>'')>[~] >

$

the default. i see no need to change it from user@computer:~$

~ λ echo -e $PS1
$FG[237]------------------------------------------------------------%{$reset_color%}
$FG[032]%~\
$(git_prompt_info) \
$FG[105]%(!.#.λ)%{$reset_color%}

...

macfag pls go

I don't have a playstation 1

>macfag doesn't know what the cat command is used for
>uses it for screen dumping output

color me surprised.

umm this isn't cat it's imgcat baka

>called imgcat
>doesn't concatenate image files.

Fucking dumb.

i didnt make the name baka dont complain to me

>/Junk/qts
How could you?

junk is just my drive for random storage

~›

%BREADY
> %b

export PS1="\[\033[38;5;14m\][\u]\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;10m\]\W>\[$(tput sgr0)\]"

(picture is what it looks like)

PS1='\[$(tput bold)\]\[$(tput setaf 3)\]\!:\[$(tput setaf 6)\]\u@\w:\$\[$(tput sgr0)\] '

Is that neofetch?

PS1=" ▲\n▲ ▲"

Oh look, it's another MatLab thread

setprompt () {
# load some modules
autoload -U colors zsh/terminfo # Used in the colour alias below
colors
setopt prompt_subst

# make some aliases for the colours: (coud use normal escap.seq's too)
for color in RED GREEN YELLOW LIGHTBLUE BLUE MAGENTA CYAN WHITE; do
eval PR_$color='%{$fg[${(L)color}]%}'
done
PR_NO_COLOR="%{$terminfo[sgr0]%}"

# Check the UID
if [[ $UID -ge 1000 ]]; then # normal user
eval PR_USER='${PR_MAGENTA}%n${PR_NO_COLOR}'
eval PR_USER_OP='${PR_MAGENTA}%#${PR_NO_COLOR}'
elif [[ $UID -eq 0 ]]; then # root
eval PR_USER='${PR_RED}%n${PR_NO_COLOR}'
eval PR_USER_OP='${PR_RED}%#${PR_NO_COLOR}'
fi

rstatus() {
if [[ $? -eq 0 ]];then
echo 0
else
echo ${PR_RED}$?
fi
}

PS1=$'${PR_BLUE}[${PR_USER}${PR_BLUE}@${PR_MAGENTA}%M${PR_NO_COLOR}${PR_BLUE}]${PR_BLUE}`rstatus`${PR_BLUE}[%~${PR_BLUE}]${PR_USER_OP}'
}
setprompt

...

>netcat
>doesn't concatenate networks

>netcat
>concatenates UDP/TCP sockets

retard

wewew

fuck misclicked
btw it actually does concatenate

>I use the unintentional side-effect of a program instead of programs designed to do what I want.
>i still don't know what 'cat' means, it's just a funny name for a pagination program!

wewew.

do you still not realize that imgcat has nothing to do with cat?

Oh cool. Documentation doesn't show that it does.
Carry on then.

Agnoster ZSH with modifies colors to look nice on my color scheme

then why call it cat?
Documentation says it works like cat so I'd assume it would concatenate files.
Fuck you, you replied and posted the wrong fucking picture, retard. But does it create a new file or does it only concatenate on stdout?

But that isn't concatenation, it's rendering an image.

how am i supposed to know why they called it that, ask the devs
it's nothing to sperg about, it just shows images in terminal

oops sorry x-d

what do you mean by 'create a new file'? isnt stdout a file?
its just a shell script
#!/bin/bash
function print_osc() {
if [[ $TERM == screen* ]] ; then
printf "\033Ptmux;\033\033]"
else
printf "\033]"
fi
}
function print_st() {
if [[ $TERM == screen* ]] ; then
printf "\a\033\\"
else
printf "\a"
fi
}

function print_image() {
print_osc
printf '1337;File='
if [[ -n "$1" ]]; then
printf 'name='`printf "%s" "$1" | base64`";"
fi

VERSION=$(base64 --version 2>&1)
if [[ "$VERSION" =~ fourmilab ]]; then
BASE64ARG=-d
elif [[ "$VERSION" =~ GNU ]]; then
BASE64ARG=-di
else
BASE64ARG=-D
fi

printf "%s" "$3" | base64 $BASE64ARG | wc -c | awk '{printf "size=%d",$1}'
printf ";inline=$2"
printf ":"
printf "%s" "$3"
print_st
printf '\n'
if [[ -n "$4" ]]; then
echo $1
fi
}

function error() {
echo "ERROR: $*" 1>&2
}

function show_help() {
echo "Usage: imgcat [-p] filename ..." 1>& 2
echo " or: cat filename | imgcat" 1>& 2
}

if [ -t 0 ]; then
has_stdin=f
else
has_stdin=t
fi
if [ $has_stdin = f -a $# -eq 0 ]; then
show_help
exit
fi
while [ $# -gt 0 ]; do
case "$1" in
-h|--h|--help)
show_help
exit
;;
-p|--p|--print)
print_filename=1
;;
-*)
error "Unknown option flag: $1"
show_help
exit 1
;;
*)
if [ -r "$1" ] ; then
has_stdin=f
print_image "$1" 1 "$(base64 < "$1")" "$print_filename"
else
error "imgcat: $1: No such file or directory"
exit 2
fi
;;
esac
shift
done
if [ $has_stdin = t ]; then
print_image "" 1 "$(cat | base64)" ""
fi
exit 0

(i had to remove comments so this would fit in the 2000 char limit)
iterm is the thing what renders