Skip to content

Instantly share code, notes, and snippets.

@voidcontext
voidcontext / fish_prompt.fish
Created January 29, 2014 15:27
Fish shell's git prompt modified to support mercurial repos and bookmarks
function hg_prompt_update
set -e -g __hg_branch
set -e -g __hg_book
end
function fish_prompt --description 'Write out the prompt'
set -l last_status $status
# Just calculate these once, to save a few cycles when displaying the prompt
@voidcontext
voidcontext / mercurial.md
Created September 3, 2013 09:39
Mercurial cheat sheet

Mercurial cheat sheet

  • hg anno -dcu : like git blame
  • hg summary --remote : summary with unpushed/unfetched commits
@voidcontext
voidcontext / .Xresources
Last active December 20, 2015 00:09 — forked from vreon/.Xresources
! Molokai theme
*xterm*faceName: "Liberation Mono"
*xterm*faceSize: 9
*xterm*background: #272822
*xterm*foreground: #f8f8f2
*xterm*cursorColor: #f8f8f2
*xterm*color0: #101010
*xterm*color1: #ed2169
*xterm*color2: #66aa11
*xterm*color3: #c47f2c
@voidcontext
voidcontext / gist:6039293
Last active December 20, 2015 00:09
Monokai/Molokai themes