mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-06-13 09:22:57 -04:00
gitconfig, aliases
This commit is contained in:
parent
77bd7a32e9
commit
ec581a469b
3 changed files with 102 additions and 3 deletions
|
@ -7,9 +7,6 @@ Many bash scripts, examples and useful stuff.
|
|||
|
||||
|
||||
|
||||
|
||||
[Fedora Tricks and Configs](https://mariwahl.hackpad.com/ulruigl2Fwd#Fedora-Tricks-and-Configs)
|
||||
|
||||
[Linux Tricks and Configs](https://mariwahl.hackpad.com/dtzOUsZaQMo#Linux-Tricks-and-Configs)
|
||||
|
||||
[Sublime Tricks and Configs](https://mariwahl.hackpad.com/RT6R3ZWEl7j#Sublime-Tricks-and-Configs)
|
||||
|
|
23
configs/aliases
Normal file
23
configs/aliases
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Dir navigation
|
||||
alias ll='tree --dirsfirst -ChFupDaLg 1'
|
||||
|
||||
# Utilities
|
||||
alias a="ack -ia"
|
||||
alias b="bundle exec"
|
||||
alias c="pygmentize -O style=monokai -f console256 -g"
|
||||
alias d="du -h -d=1"
|
||||
alias df="df -h"
|
||||
alias g="git"
|
||||
alias grep='GREP_COLOR="1;37;45" LANG=C grep --color=auto'
|
||||
alias h="history"
|
||||
alias httpdump="sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E \"Host\: .*|GET \/.*\""
|
||||
alias ip="curl -s http://checkip.dyndns.com/ | sed 's/[^0-9\.]//g'"
|
||||
alias localip="ipconfig getifaddr en1"
|
||||
alias mp="mvim -p"
|
||||
alias rkt="racket -il xrepl"
|
||||
alias tmux="tmux -2"
|
||||
|
||||
|
||||
# Sync
|
||||
#alias sync_irc="rsync -avz ~/Sites/IRC/ talos:/mnt/www/irc.gf3.ca/public"
|
||||
|
79
configs/gitconfig
Normal file
79
configs/gitconfig
Normal file
|
@ -0,0 +1,79 @@
|
|||
[user]
|
||||
name = Mari Wahl
|
||||
email = mari.wahl9@gmail.com
|
||||
|
||||
|
||||
[alias]
|
||||
br = branch
|
||||
ci = commit
|
||||
co = checkout
|
||||
df = diff
|
||||
g = grep -I
|
||||
lg = log -p
|
||||
loq = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
|
||||
pb = publish-branch
|
||||
rb = rbranch
|
||||
rc = rank-contributors
|
||||
rv = review
|
||||
sm = show-merges
|
||||
st = status
|
||||
|
||||
[branch]
|
||||
autosetuprebase = always
|
||||
|
||||
[color]
|
||||
ui = auto
|
||||
|
||||
[color "branch"]
|
||||
current = yellow reverse
|
||||
local = yellow
|
||||
remote = green
|
||||
|
||||
[color "diff"]
|
||||
meta = yellow
|
||||
frag = magenta
|
||||
old = red
|
||||
new = green
|
||||
|
||||
[color "status"]
|
||||
added = yellow
|
||||
changed = green
|
||||
untracked = cyan
|
||||
|
||||
[diff]
|
||||
tool = Kaleidoscope
|
||||
|
||||
[diff "exif"]
|
||||
textconv = exiftool
|
||||
|
||||
[difftool]
|
||||
prompt = false
|
||||
|
||||
[merge]
|
||||
log = true
|
||||
|
||||
[push]
|
||||
default = simple
|
||||
|
||||
[rerere]
|
||||
enabled = 1
|
||||
|
||||
[url "git@github.com:"]
|
||||
insteadOf = "gh:"
|
||||
pushInsteadOf = "github:"
|
||||
pushInsteadOf = "git://github.com/"
|
||||
|
||||
[url "git://github.com/"]
|
||||
insteadOf = "github:"
|
||||
|
||||
[url "git@gist.github.com:"]
|
||||
insteadOf = "gst:"
|
||||
pushInsteadOf = "gist:"
|
||||
pushInsteadOf = "git://gist.github.com/"
|
||||
|
||||
[url "git://gist.github.com/"]
|
||||
insteadOf = "gist:"
|
||||
|
||||
[url "git@heroku.com:"]
|
||||
insteadOf = "heroku:"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue