[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

$PS1 Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 10
Thread images: 4

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⯈ "

>>
File: $PS1.png (20KB, 795x356px) Image search: [Google]
$PS1.png
20KB, 795x356px
>>
File: Screenshot_2017-01-19_19-16-53.png (1KB, 109x45px) Image search: [Google]
Screenshot_2017-01-19_19-16-53.png
1KB, 109x45px
>>
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
▅▇█▆▄▃▃▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
>>
File: 1468543029187.png (259KB, 863x407px) Image search: [Google]
1468543029187.png
259KB, 863x407px
vOv
>>
>>58565319
Speaking of configs, how should my /etc/conf.d/modules be set up?
modules="module1 module2"
-or-
modules="module1"
modules="module2"
Thread posts: 10
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.