[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Terminal Prompts
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 12
Thread images: 3
File: Screenshot 2015-12-14 09.29.12.png (73 KB, 2134x1704) Image search: [Google]
Screenshot 2015-12-14 09.29.12.png
73 KB, 2134x1704
What does your prompt look like? Looking for inspiration.
export PS1="\a\n\n\e[31;1m\]\u@\h on \d at \@\n\e[33;1m\]\w\e[0m\n$ "
>>
>5 line prompt
Die in a fire
>>
>>51849730
It could be smaller which is why I'm looking for inspiration
>>
File: term.png (2 KB, 309x48) Image search: [Google]
term.png
2 KB, 309x48
>>51849702
>>
>>51851267

zsh? never much cared for the lengthier and multiple line prompts but i could see how one might like it

i quite fancy the default fish configuration
>>
$
>>
the timestamp is the current time, and the 3-character thing is just an indicator of which machine I'm on. In practice I actually have like 5 machines whose prompts I use, and some of them share the same .zshrc file through github and I didn't want to deal with branching and merging and shit, so I just have the script figure this shit out.

my retina mbp has the same look, but it says "mbp" instead.
>>
>>51851622
How do you define all those functions outside of the .bash_profile
>>
>>51851658
what?
>>
>>51849702
here play with that.
https://www.kirsle.net/wizards/ps1.html
>>
>>51851658
1) I use zsh
2) it might help to understand the order in which these things are loaded. A quick google yielded this: https://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/
>>
I use ">"
Thread replies: 12
Thread images: 3

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.