Very cool! Feature suggestion: It would be great to be able to change the colors of the individual components a la https://github.com/twolfson/sexy-bash-prompt
PS1 generator
21–30 of 30 posts
Re: PS1 generator
#22There's a bug where if you drag everything out of your configuration, you can't drag anything back in again. Neat though. I'm on Firefox v22.
Re: PS1 generator
#23Please add "cursor: default;" or "cursor: move;" to the draggable items. Draggable things should not use the text selection cursor. :)
Re: PS1 generator
#24Re: PS1 generator
#25Re: PS1 generator
#26Nice! I'd love to see support for the terminal window title here, too. Add an additional container for the titlebar contents, and prefix \[\e]0;$titlebar_contents\a\] to the prompt when TERM is xterm , rxvt , or screen*. Also, colors should be draggable into the prompt, since they can change between different parts of the prompt. "Last command error when not successful" is nice as well; just add this to your prompt (…
LED=$(perl -le "\$!+=${LE};print \$!" 2>/dev/null || echo "unknown error")
It's not perfect but I haven't found a more reliable way to map exit status' to something like the right meaning.Re: PS1 generator
#27If you're not opposed to using JS in your prompt (it runs fast, promise!) check out impromptu [0]. I've been using it for a few months now and it's amazing. [0]: https://github.com/impromptu/impromptu
It sounds interesting, or at least I can imagine something interesting based on that description, but the only concrete information readily available seems to be that Impromptu requires Node.js and Redis. Those are fairly onerous requirements for a shell prompt, so some description of the actual features is probably warranted.
Re: PS1 generator
#28Wow this is great, props for making the first drag-n-drop $PS1 generator
Re: PS1 generator
#29Please add "cursor: default;" or "cursor: move;" to the draggable items. Draggable things should not use the text selection cursor. :)
Just a pull request away: https://github.com/xta/HalloweenBash/blob/master/assets/prof...
Re: PS1 generator
#302. Here is a color map which escape will make your prompt look which way. https://github.com/andreas-marschke/misc-tools/blob/master/s...
3. You can find my prompt setup here: https://github.com/andreas-marschke/dotfiles
It's split up across profile,bashrc,bash_alias,bash_export
4. As was requested in the comments here you can use $TERM variable to determine your terminal name. Since most popular terminal emulators try to be what they are supposed to be "dumb vt100s" you'll get xterm or (if you use a multiplexer like tmux,screen) "screen" as $TERM. IMHO its not of much use therefore.
5.https://github.com/Lokaltog/powerline << Mean to test this out. Its more for vim users.