Skip to content

Instantly share code, notes, and snippets.

@dcneiner
Last active December 18, 2015 23:39
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dcneiner/5862840 to your computer and use it in GitHub Desktop.
Save dcneiner/5862840 to your computer and use it in GitHub Desktop.
Information about my terminal configuration and theme.

My Terminal

Application

I use iTerm 2.

Font

I use 15pt Menlo Regular for Powerline, available here.

Shell

I use Zsh + Oh My ZSH. I configured ZSH as my primary shell as part of the install of Oh My ZSH

Theme

I use Agnoster for Oh My ZSH (Installed to ~/.oh-my-zsh/themes/agnoster.zsh-theme) with one modification. You set your theme in ~/.zshrc. I saved my modified copy as new file so upgrades wouldn't break my change.

Change this

prompt_dir() {
  prompt_segment blue black '%~'
}

To this

prompt_dir() {
  prompt_segment blue black $(basename "$PWD")
}

This removes the full path and only shows the current folder.

Git Colors

If you notice the colors in git status, that is due to having this in my ~/.gitconfig file:

[color]
	diff = auto
	status = auto
	branch = auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment