My configurations for the software I use
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add OSC 133 prompt markers

yemou 3b96d86f 1eabb6de

+7 -5
+7 -5
config/loksh/rc
··· 13 13 set -o braceexpand 14 14 set -o csh-history 15 15 16 + # foot shell integration for prompt jumping (OSC 133) 17 + prompt_marker() { printf '\[\033]133;A\033\\\]'; } 18 + PS1="$(prompt_marker)" 19 + 16 20 # Setup prompt based on terminal theme type 17 21 [ "$TERM" = linux ] && { 18 - PS1="\[\033[1;31m\]\u\[\033[32m\]@\[\033[33m\]\h \[\033[34m\]\W\[\033[m\] " 22 + PS1="${PS1}\[\033[1;31m\]\u\[\033[32m\]@\[\033[33m\]\h \[\033[34m\]\W\[\033[m\] " 19 23 PS2="\[\033[1;36m\]>\[\033[m\] " 20 24 } || { 21 25 # Try and get OSC-133;A working 22 26 case $(. "$(<"${XDG_STATE_HOME:-$HOME/.local/state}/thm/current_thm")"; printf '%s' "$theme_type") in 23 - dark ) PS1="\[\033[1;91m\]\u\[\033[92m\]@\[\033[93m\]\h \[\033[94m\]\W\[\033[m\] " 27 + dark ) PS1="${PS1}\[\033[1;91m\]\u\[\033[92m\]@\[\033[93m\]\h \[\033[94m\]\W\[\033[m\] " 24 28 PS2="\[\033[1;96m\]>\[\033[m\] " ;; 25 - * ) PS1="\[\033[1;31m\]\u\[\033[32m\]@\[\033[33m\]\h \[\033[34m\]\W\[\033[m\] " 29 + * ) PS1="${PS1}\[\033[1;31m\]\u\[\033[32m\]@\[\033[33m\]\h \[\033[34m\]\W\[\033[m\] " 26 30 PS2="\[\033[1;36m\]>\[\033[m\] " ;; 27 31 esac 28 - 29 - 30 32 } 31 33 32 34 [ "$DWRAP_WITHIN_SANDBOX" = "true" ] && PS1="($DWRAP_CURRENT_DISTRO) $PS1"