Awesome :D. I took a look at liquidprompt and the article having just seen the email I'm responding to. It'll take a little getting used to, but I'm liking it. I've just been using plain defaults (gnome terminal, bash/dash) here except one customisation of re-enabling the colour prompt to better find it in large output. Thanks for bringing this to my attention!
One issue though, the article suggests placing this: ``` # Ensure Gnome Terminal shows the prompt correctly PROMPT_COMMAND='echo -ne "\033]2;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' PROMPT_COMMAND="history -a; history -c; history -r;$PROMPT_COMMAND" ``` into the .bashrc file, but not where is best to place it (or why it's supposedly needed). Placing it at the end of the file, this results in a prompt like this for me: "${debian_chroot:+($debian_chroot)}lyndon@laptop:~$" which is clearly not right. Placing it just before this block though: ``` if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033> else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi ``` it seems to avoid that bug, but I don't see an immediate difference to not having it at all... On Fri, 2020-09-25 at 21:15 +0300, Otto Kekäläinen wrote: > Hello! > > ma 8. kesäk. 2020 klo 12.04 Arturo Borrero Gonzalez > (art...@debian.org) kirjoitti: > > On 5/27/20 9:06 PM, Otto Kekäläinen wrote: > > > Hello! > > > > > > Do we have Debian devs here who have pimped their shell heavily > > > with custom > > > prompts, colors, command line fonts, shell window title hacks, > > > perhaps using zsh > > > etc? Have you written blogs about you experiences, can you share > > > some good reads > > > (with screenshots) of what you have done? > > > > > > I've read a bit on zsh and powerline and the like, but I am > > > annoyed that all > > > those blog posts are quite superficial and do not mention > > > security, > > > interoperability or performance aspects. Frankly any blog post > > > that recommends > > > cloning random repos or even worse, running wget | sh something > > > gives me chills. > ... > > Take a look at liquidprompt(1). > > > > Is what I use everywhere! > > This turned out to be my favourite tip. I've written about my > experiences and why I love it so much at > https://linuxnatives.net/2020/liquid-prompt in case others are > interested. > > And thanks to Arturo for packaging it and for recently uploading the > latest version of it to Debian unstable! > > - Otto >