I was curious as to what prompts people find are the best for development? I’m looking for a change from the generic debian:
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
Which yields:
dell-xps-13 -os:~$
deleted by creator
I use zsh for my shell, with
powerlevel10k
as my prompt. It’s gorgeous and has an interactice condigurator on first start. It includes stuff like git repo branch and status, python venv, aws profile… I’ve used it for years and loved it the whole time.No doubt p10k is excellent, and the dev knows what he’s doing and helps others a lot.
Another great zsh prompt with a simpler implementation is agkozak’s: https://github.com/agkozak/agkozak-zsh-prompt
I wrote my own! But you probably don’t want to use it, I am sure it only works for me. But hey! It was fun! https://github.com/e2dubba/liteprompt
Personally, I like starship, and how it’s consistent across different shells. I mostly use defaults, but with line break before command.
What’s a Linux prompt
op means shell prompt