Skip to content

Instantly share code, notes, and snippets.

View emgoeddel's full-sized avatar

Lizzie Goeddel emgoeddel

View GitHub Profile

Keybase proof

I hereby claim:

  • I am emamanto on github.
  • I am mamantov (https://keybase.io/mamantov) on keybase.
  • I have a public key whose fingerprint is 5642 494F 5ABC 41B1 6BE6 C5C0 18FE 6EB8 EE68 FFBC

To claim this, I am signing this object:

@emgoeddel
emgoeddel / .gitconfig
Created October 31, 2014 21:11
Global git configs
[alias]
cm = commit
co = checkout
br = branch
st = status
ss = stash save
[core]
editor = emacs -nw
[color]
status = auto
;; File opening util
(ido-mode 1)
;; No GUI things, thanks
(scroll-bar-mode -1)
(setq inhibit-startup-message t)
(tool-bar-mode 0)
;; Tabs are evil
(setq-default indent-tabs-mode nil)
@emgoeddel
emgoeddel / branch-prompt
Last active July 20, 2018 15:16
Lizzie's bash prompt
#Paste into .bashrc for git branch in the prompt!
#Plus colors: username in green, @ in default, hostname in blue, pwd in purple, $ and remaining text in default.
#Looks good if you're using black background, white/gray text.
#If you're in a git repository, branch appears in cyan.
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \1/'
}
# Custom bash prompt via kirsle.net/wizards/ps1.html with some manual