Home > PS1Gen

PS1Gen

PS1Gen is a project mainly written in JavaScript, it's free.

JavaScript Tool to generate PS1 prompts

PS1Gen

PS1Gen is a small JavaScript tool that allows you to easily generate fancy PS1 command prompts for your favorite Unix Bash shell. A hosted version can be found over at coding-journal.com, if you'd like to take it for a spin.

Note that this is still a non-fully-functional WIP version, so don't expect too much from it yet.

TODO

  • Add bash source generation
  • Add light background mode
  • Make items deletable
  • Fine-tune layout
  • Add Google Analytics

Credits

This tool was inspired the original (?) Bash $PS1 Generator. The reason I rolled out my own one was that it does not allow re-ordering of the items and the colors are very limited.

License

Copyright (c) 2011 Lucas Jenß

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.