HalloweenBash
HalloweenBash copied to clipboard
Custom Bash Profile Generator
Look:  I'm using this code below for ubuntu: [Check here](https://github.com/marceloboeira/ubuntu-dev-setup/blob/master/resources/.bashrc) ``` bash aram () { free -m | awk '{print $4}' | head -2 | tail -1; } ```
If has something to stage -> red  otherwhise -> green  [Look the source here](https://github.com/marceloboeira/ubuntu-dev-setup/blob/master/resources/.bashrc#L187)
Look:  I'm using "acpi" for ubuntu: [Check here](https://github.com/marceloboeira/ubuntu-dev-setup/blob/master/resources/.bashrc) ``` bash temperature () { acpi -t | grep -Eo '[0-9]+.{2,4}'| awk '{print $1}' | head -2 | tail -1; }...
Like I do for my own. Just allow the color selections to get dragged into the PS1 box. This makes it easy to color branch and path names (for example)...
When you drag a space up, you can never drag another space there, since it disappears :)
Nice work on this. Few little suggestions: 1. Can you add the characters < > @, or to be able to just type some in? 2. You could make the...
In my PS1, I find it useful to see the exit status of the last entered command. In order to do this, I need to define a function that dynamically...
If you start $PS1 with ': ' and end with '; ' then you cut-n-paste entire command lines more easily (no need to grab from the end of the prompt)....