Skip to content

Instantly share code, notes, and snippets.

@apieum
apieum / .inputrc
Created October 24, 2013 13:31
bash history
"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on
@apieum
apieum / .gitignore
Created October 24, 2013 11:40
.gitignore
#--------------------#
# Python Files #
#--------------------#
*.pyc
*.pyo
#--------------------#
# OS generated files #
#--------------------#
.DS_Store
.DS_Store?
@apieum
apieum / .gitconfig
Last active November 20, 2019 12:48
~/.gitconfig
[alias]
co = commit
ca = commit -a
amend = commit --amend
st = status
who = shortlog -sne
oneline = log --pretty=oneline --abbrev-commit --graph
changes = diff --name-status
dic = diff --cached
diffstat = diff --stat
@apieum
apieum / tig
Created October 24, 2013 10:24
tig bash completion
##
# bash completion support for tig
#
# Copyright (C) 2007-2010 Jonas fonseca
# Copyright (C) 2006,2007 Shawn Pearce
#
# Based git's git-completion.sh: http://repo.or.cz/w/git/fastimport.git
#
# The contained completion routines provide support for completing:
#
@apieum
apieum / .bashrc
Last active December 26, 2015 08:49
bashrc prompt
PS1='\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\W\[\033[00m\]\\$ '