Your PROMPT - Desktop Customization & Workflow
Users browsing this thread: 14 Guest(s)
|
|||
'cause lambdas are cool. |
|||
|
|||
|
|||
|
|||
Not as fancy as the gif I posted on reddit. But much less large -- in visual size. And features right aligned short dir in bash.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Alright, show us your prompt and let us know what's particular about it, if anything.
Here's mine: zshrc: Code: PS1=' %~ > ' |
|||
|
|||
I still prefer a non-annoying approach:
.cshrc: Code: set prompt = '[%n@%m:%~]%# ' -- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
my minimal zsh prompt:
|
|||
|
|||
minimal
|
|||
|
|||
I use a left and right PS1 on ksh.
The left prompt indicates whether I'm root (it becomes red when I'm root), and, if a command fails, it prints the exit code returned by the last command between square brackets. The right prompt indicates where I am. Here's how I set it: Code: promptcmd() { |
|||
|
|||
I'm a simple man.
_____________________________________________________________________________________________
“Maybe you have some bird ideas... Maybe that's the best you can do.” - Terry A. Davis (R.I.P Terry & Percival) |
|||
|
|||
This is mine atm:
I use vi keys in shell, so I have right aligned my mode. Also, the bright pink cursor makes it easy to spot in source code) Code: export PS1='%f[%F{cyan}%~%f]> ' |
|||
|
|||
here is mine, oh-my-zsh, muse theme, customized a bit:
|
|||
|
|||
Mine's quite boring, this is ZSH without any frameworks or so.
I used to be a vim user (before Emacs) and my workflow hinged on suspending/resuming vim to get to my shell, so I've got the background job indicated in the prompt (and also resume bound to C-z for quick toggling). Also highlighting to indicate existing executables/paths. |
|||
|
|||
Wrong OS at the moment, but here's my boring wsl prompt:
|
|||
|
|||
|
|||
-- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
(11-11-2020, 01:20 PM)jkl Wrote: I would assume that such a low contrast is very hard to stare at for a long time. This seems pretty high contrast to me -- I was curious and checked, I get 3.6 (the gray). Granted, I only enforce a minimum ratio of 2.2. ... oh, the previous prompt text (the yellowish?) is 2.26, which is fairly low. |
|||
|
|||
(11-11-2020, 01:20 PM)jkl Wrote: I would assume that such a low contrast is very hard to stare at for a long time. This is the stock Solarized dark theme. I don't like too high contrast because I find it too harsh on the eyes. Another dark theme I really like is gruvbox (the dark soft variant). I rather increase the font size than the contrast, as I'm slowly going blind (really need to get some glasses). During the day I mostly use Solarized light, which should in theory have the same contrast. |
|||