What's your $PS1?
zsh with powerline-shell
>>57355724
somehting cool im not sure
>>57355724PS1="\[\033[01;34m\]\u\[\033[00;37m\]@\[\033[01;34m\]\h\[\033[00;37m\][\W] \$ "
(>'')>[~] >
$
>>57355724
the default. i see no need to change it from anon@computer:~$
~ λ echo -e $PS1
$FG[237]------------------------------------------------------------%{$reset_color%}
$FG[032]%~\
$(git_prompt_info) \
$FG[105]%(!.#.λ)%{$reset_color%}
>>57356982
macfag pls go
>>57355724
I don't have a playstation 1
>>57356982
>macfag doesn't know what the cat command is used for
>uses it for screen dumping output
color me surprised.
>>57357249
umm this isn't cat it's imgcat baka
>>57357278
>called imgcat
>doesn't concatenate image files.
Fucking dumb.
>>57357296
i didnt make the name baka dont complain to me
>>57356982
>/Junk/qts
How could you?
>>57357320
junk is just my drive for random storage
%BREADY
> %b
>>57355724
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)\] '
>>57357609
Is that neofetch?
PS1=" ▲\n▲ ▲"
>>57355724
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
>>57357296
>netcat
>doesn't concatenate networks
>>57359032
>netcat
>concatenates UDP/TCP sockets
retard
>>57359200
fuck misclicked
btw it actually does concatenate
>>57359200
>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.
>>57359306
do you still not realize that imgcat has nothing to do with cat?
>>57359270
Oh cool. Documentation doesn't show that it does.
Carry on then.
Agnoster ZSH with modifies colors to look nice on my color scheme
>>57359336
then why call it cat?
Documentation says it works like cat so I'd assume it would concatenate files.
>>57359359
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?
>>57359359
But that isn't concatenation, it's rendering an image.
>>57359394
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
>>57359394
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)
>>57359398
iterm is the thing what renders