Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Halloween Bash - Bash Profile Generator

rex
October 16, 2012

Halloween Bash - Bash Profile Generator

WYSIWYG Bash Profile Generator
Try it at http://xta.github.com/HalloweenBash/

rex

October 16, 2012
Tweet

Other Decks in Programming

Transcript

  1. Good programmers are lazy • Your tools are extremely important

    • Don't make things harder than they have to be
  2. GUI vs CLI • Graphical user interface ◦ Familiar, Mouse

    to move • Command-line interpreter ◦ Help! What do I type in this box?
  3. Launch Terminal (OS X) • Bash (shell) is the program

    which actually processes commands and returns output. • Terminal.app is the wrapper program which runs Bash (shell) • Cmd+N for New • Cmd+T for new Tab
  4. Bash Customization • .bash_profile • .bash_login (if started as a

    login shell, was passed the --login flag) • .bashrc (evaluated when bash was invoked as an interactive shell)
  5. Google Prompt String Generators • Lots of reading in small

    fonts • What is \@? • What about [\e[0m\]? • I just want my Bash to look great, not solve a puzzle.
  6. Halloween Bash • easy way to customize your .bash_profile prompt

    string (PS1) • don't need to read 'man bash' and look for 'PROMPTING' section
  7. How to use Halloween Bash • Drag & drop -

    what you see is what you get • Click the color you want • Copy & paste into .bash_profile
  8. Don't see any changes? • Open a new Window/Tab •

    Run "source ~/.bash_profile" to reset