Skip to main content
6 events
when toggle format what by license comment
Nov 3, 2021 at 17:31 comment added Tony-Caffe Worked great! Thank you for the chart so I can see per device how it is displayed. My PS1 for my raspberry pi with company colors is PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;38;5;046m\]\u\[\033[01;38;5;014m\]@\[\033[01;38;5;214m\]\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] "
Apr 6, 2021 at 9:28 comment added Olivier Dulac c() {printf '\033[38;5;%sm %03d' "$1" "$2";} ; colorgrid() { for y in $(seq 16 51); do for x in $(seq 0 6); do n=$(( 36 * $x + $y )); if [ $n -gt 250 ]; then n=$(( $n - 251 )); fi; printf "$(c $n $n)# "; done; echo ""; done;} ; declare -f c colorgrid
Apr 6, 2021 at 9:07 comment added Olivier Dulac c() { printf '\[\033[1;38;5;%sm\]' "$1" ;} ; p="$(c 52)p" ; l="$(c 124)l"; ....
May 27, 2018 at 0:44 comment added Plasmarob I'm really glad I shared this. came in handy today fixing a bashrc and terminal setup to be less hideous. Just saw the date too - it'll be 2 years ago tomorrow.
May 27, 2016 at 16:05 review First posts
May 27, 2016 at 16:13
May 27, 2016 at 16:03 history answered Plasmarob CC BY-SA 3.0