Share your $PS1 config with us
mine:parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/[\1]/'
}
BOLD="\[\033[1m\]"
GREEN="\[\033[32m\]"
MAGENTA="\[\033[35m\]"
PS1="$BOLD$MAGENTA\u$RESET·$BOLD$GREEN\h:$RESET\W$MAGENTA\$(parse_git_branch)$RESET⯈ "
bump, post your configs
Is there a way to shorten the cwd as shown on my ps1. Similar to how zsh expands things like c/d/eel to cat/dog/eel
anyone have a good terminal weather display that remains in footer?
>>58568076
If you use tmux you can put any status info you want at the bottom
>>58568095
>>58568095
ah makes sense...I had figured tmux was somehow involved, just didn't dig into it much
I suppose i'll do ansiweather and then maybe hack an extra one together with spark
curl -Ss https://api.forecast.io/forecast/$FORECAST_API_KEY/$(whereami) |
jq ".minutely.data[].precipIntensity * 1000" |
spark
▅▇█▆▄▃▃▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
vOv
>>58565319
Speaking of configs, how should my /etc/conf.d/modules be set up?
modules="module1 module2"
-or-
modules="module1"
modules="module2"