Skip to content

Instantly share code, notes, and snippets.

@tallakt
Last active September 30, 2015 16:18
Show Gist options
  • Save tallakt/1824983 to your computer and use it in GitHub Desktop.
Save tallakt/1824983 to your computer and use it in GitHub Desktop.
cygwin config files
[user]
name = Tallak Tveide
email = [email protected]
[core]
editor = /usr/bin/vim
excludesfile = /cygdrive/c/Users/tveidet/.gitignore_global
autocrlf = false
[diff "excel"]
textconv = strings
[diff "word"]
textconv = strings
[color]
ui = true
[push]
default = simple
[alias]
lg = log --graph --oneline --decorate
st = status -sb
.irbrc
require "awesome_print"
#AwesomePrint.irb!
require 'bond'; Bond.start
begin
# load wirble
require 'wirble'
# start wirble (with color)
Wirble.init
Wirble.colorize
rescue LoadError => err
warn "Couldn't load Wirble: #{err}"
end
require 'irb/ext/save-history'
#History configuration
IRB.conf[:SAVE_HISTORY] = 100
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"
.XWinrc
urxvt exec "urxvt --loginShell"
$ cat .Xdefaults
URxvt*font: xft:Monofur:style=Regular:pixelsize=24
URxvt*background: #111144
URxvt*foreground: #BBBBBB
... eller Inconsolata...
# .inputrc
set editing-mode vi
# .bashrc
# RVM
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
alias dbw="ruby -rsirup -e 'Sirup.connect(\"192.168.51.207\"){|s| s.write_db ARGV.shift.to_i, ARGV.shift.to_i, :b, ARG
# http://code.google.com/p/mintty/wiki/Tips#Changing_colours
echo -ne '\e]4;4;#7777FF\a' # blue
# vim key bindings
set -o vi
# Git show branch
# https://github.com/git/git/blob/8976500cbbb13270398d3b3e07a17b8cc7bff43f/contrib/completion/git-prompt.sh
source ~/.git-prompt.sh
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]$(__git_ps1 " (%s)")\n\$ '
# .minttyrc
BoldAsFont=yes
Font=Inconsolata
FontHeight=16
BoldAsColour=no
ClicksPlaceCursor=yes
Term=xterm-256color
# https://github.com/mavnn/mintty-colors-solarized/blob/master/.minttyrc.dark
ForegroundColour=131, 148, 150
BackgroundColour= 0, 43, 54
CursorColour= 220, 50, 47
Black= 7, 54, 66
BoldBlack= 0, 43, 54
Red= 220, 50, 47
BoldRed= 203, 75, 22
Green= 133, 153, 0
BoldGreen= 88, 110, 117
Yellow= 181, 137, 0
BoldYellow= 101, 123, 131
Blue= 38, 139, 210
BoldBlue= 131, 148, 150
Magenta= 211, 54, 130
BoldMagenta= 108, 113, 196
Cyan= 42, 161, 152
BoldCyan= 147, 161, 161
White= 238, 232, 213
BoldWhite= 253, 246, 227
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment