Customizations to ~/.profile and Terminal Prompt

Zsh Version of my Terminal

zsh profile using oh-my-zsh

zsh profile using oh-my-zsh

I am using oh-my-zsh with iTerm2… Check them out here:

My ~/.zshrc Configuration File


 Bash Version of my Terminal

Here is what I have customized my terminal to look like when I am not using Git:

Customized Terminal Prompt

Here is what I have customized my terminal to look like when I am using Git:

Customized Terminal Prompt

My ~/.bash_profile Configuration File

This is the code I am using to customize my terminal’s prompt (and add some terminal shortcuts)…

Line 1:  get the ~/.profile (I store my paths in ~/.profile incase I sometimes use other shells)
Lines 2 – 4:  function to grab the git branch that you are currently on
Lines 5 – 6:  color constants
Line 7:  setting my text editor
Line 8:  customizing my prompt display

  • \W gets the “basename” of the present working directory
  •  –> $ is just for style
  • parse_git_branch calls the function to get the current git branch (color it grey then turn the color back off so the rest of the text doesn’t get colored grey)

Line 10:  locations of rvm scripts
Line 11:  alias to start my postgresql server with a logfile with pgstart command
Line 12:  alias to stop my postgresql server with pgstop command

Personal Preparation | DBC Preparation Phase |1|

I want to become a software craftsman… from zero to master artisan. So, I see the process like this — I need to get better at creating software.  Counter-intuitively, but I think correctly, Dev Bootcamp starts the process of getting better at creating software with self-reflection (seemingly unrelated to programming).

This self-reflection is part of my “personal preparation phase” – exercises trying to get me to acknowledge my mindset, my thinking style, and my learning style, in order to facilitate accelerated craftsmanship through self-awareness. Let’s get started…

Mindset – Growth versus Fixed

Success is indicated by your perception of ability — inherent or developed

Fixed Mindset

Intelligence is fixed — static and innate

All people want to look smart and succeed

People with a fixed mindset avoid challenges and obstacles (because success is not assured) — stick to what is known

Effort is useless

Ignore useful criticism (takes criticism of skills as criticism of self)

Feel threatened by the success of others (others act as benchmark) — other’s success is luck

RESULT: Early peak and less than full potential

Growth Mindset

Intelligence is developable — dynamic | trainable

All people want to look smart and succeed (i.e., improve)

Improve by embracing challenges and persisting in the face of setbacks

Effort is necessary

Criticism is a source of information (takes criticism of skills as only criticism of current skill, not self)

Feel inspired and informed by others’ success (success is not zero-sum)

RESULT: Ever-higher achievement and greater sense of autonomy

VARK Learning Style

V: 12
A: 12
R/W: 14
K: 12

Mulitmodal (VARK) Learning Preference

 Thinking Style

CS: 16
AS: 52
AR: 20
CR: 32


My Thinking Style:

I skew heavily towards thinking abstract-sequentially, unless a situation demands otherwise, in which case I use one of my other three styles (which are fairly balanced).

This means that I tend to process information through filters of abstract theories, while still thinking in an orderly and sequential manner, always tying theorizing back to it’s grounding in reality.

Enjoy when learning:

Synthesizing information and applying new concepts to theorizing.
Asking questions and discussing new material

Find challenging when learning:

Connecting theory to practical knowledge
“Grunt” work / tedium


  • Obviously, a growth mindset is more beneficial for most situations
  • I will need to work on a growth mindset… luckily it is trainable ;)
  • I prefer to think multi-modally, meaning that I probably need to strengthen the individual modes for self-sufficiency when in limited epistemic situations
  • I prefer theorizing as my style of cognition
  • I need to work on connecting theory to practice…