Linux Lite Forums

Customization => Desktop Customization => Topic started by: Moltke on December 01, 2020, 09:12:20 PM

Title: Customize powerline terminal prompt
Post by: Moltke on December 01, 2020, 09:12:20 PM
Hi everyone! Hope you're all having a nice life! :)

How can I customize the powerline terminal prompt? i.e. change the theme. I've been reading a bit of the official docs https://powerline.readthedocs.io/en/latest/index.html but not sure where to start from. Any help is appreciated. Thanks in advance for your answers.

P.S: I'd also like to know what the error/number codes (127, 5) mean, where can I get that info? 
Title: Re: Customize powerline terminal prompt
Post by: trinidad on December 04, 2020, 10:58:55 AM
127 is just your local server and 5 is probably a misconfigured or looping file descriptor. Kind of esoteric stuff for new LL users to play with, so please be sure any customizations you post are well tested by you on LL, include the code you use, and a method of safe reversion. One could foresee all kinds of issues with newbies tweaking things in powerline.

TC 
Title: Re: Customize powerline terminal prompt
Post by: b930306625 on October 11, 2021, 04:45:30 PM
This helps w/ calculating history values like '!-5$:t' (the '#') creates an on-screen timeline for me (how many times have you wondered when a command was run?!? '\t'), and reminds me who & where I am ('\u'...'\h'...'\w'). The Tutuapp (https://tutuapp.uno/) 9Apps (https://9apps.ooo/) Showbox (https://showbox.kim/) rest (\e[...) is just my preference for coloring.

Title: Re: Customize powerline terminal prompt
Post by: alona nizova on November 02, 2021, 03:01:23 PM
Log off. Log on. Wait 10 minutes and try again - its works