Permalink
Browse files

More stuff.

  • Loading branch information...
1 parent 52f94f9 commit 0f9288fb75ffdd607d2f011fbe60f4581aae8975 @cowboy committed Dec 21, 2011
Showing with 60 additions and 4 deletions.
  1. +6 −0 link/.ackrc
  2. +3 −0 link/.aprc
  3. +14 −0 link/.toprc
  4. +1 −0 source/file.sh
  5. +11 −0 source/linux.sh
  6. +4 −3 source/misc.sh
  7. +1 −1 source/osx.sh
  8. +20 −0 source/vcs.sh
View
@@ -0,0 +1,6 @@
+--ignore-dir=log
+--ignore-dir=tmp
+--ignore-dir=vendor
+--ignore-dir=public/generated
+--sort-files
+-a
View
@@ -0,0 +1,3 @@
+AwesomePrint.defaults = {
+ :indent => -2
+}
View
@@ -0,0 +1,14 @@
+RCfile for "top with windows" # shameless braggin'
+Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0
+Def fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX
+ winflags=130745, sortindx=13, maxtasks=0
+ summclr=2, msgsclr=1, headclr=2, taskclr=2
+Job fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX
+ winflags=62777, sortindx=0, maxtasks=0
+ summclr=6, msgsclr=6, headclr=7, taskclr=6
+Mem fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
+ winflags=62777, sortindx=13, maxtasks=0
+ summclr=5, msgsclr=5, headclr=4, taskclr=5
+Usr fieldscur=ABDECGfhijlopqrstuvyzMKNWX
+ winflags=62777, sortindx=4, maxtasks=0
+ summclr=3, msgsclr=3, headclr=2, taskclr=3
View
@@ -22,6 +22,7 @@ alias -- -='cd -'
# File size
alias fs="stat -f \"%z bytes\""
+alias df="df -h"
# Recursively delete `.DS_Store` files
alias dsstore="find . -name '*.DS_Store' -type f -ls -delete"
View
@@ -0,0 +1,11 @@
+# Linux-only stuff. Abort if not linux.
+if [[ ! "$OSTYPE" =~ ^linux ]]; then
+ return
+fi
+
+# ubuntu package management
+alias update="sudo aptitude update"
+alias install="sudo aptitude install"
+alias upgrade="sudo aptitude safe-upgrade"
+alias remove="sudo aptitude remove"
+alias search="aptitude search"
View
@@ -1,13 +1,14 @@
# Case-insensitive globbing (used in pathname expansion)
shopt -s nocaseglob
+# Check the window size after each command and, if necessary,
+# update the values of LINES and COLUMNS.
+shopt -s checkwinsize
+
# Prefer US English and use UTF-8
export LC_ALL="en_US.UTF-8"
export LANG="en_US"
#export TERM="xterm-color"
export GREP_OPTIONS='--color=auto'
-
-# Misc shortcuts
-alias g=git
View
@@ -1,4 +1,4 @@
-# OSX-only stuff
+# OSX-only stuff. Abort if not OSX.
if [[ ! "$OSTYPE" =~ ^darwin ]]; then
return
fi
View
@@ -0,0 +1,20 @@
+
+# Git shortcuts
+
+alias g='git'
+alias ga='git add'
+alias gp='git push'
+alias gu='git pull'
+alias gl='git log'
+alias gs='git status'
+alias gst='gs'
+alias gd='git diff'
+alias gdc='git diff --cached'
+alias gm='git commit -m'
+alias gma='git commit -am'
+alias gb='git branch'
+alias gba='git branch -a'
+alias gc='git checkout'
+alias gra='git remote add'
+alias grr='git remote rm'
+alias gcl='git clone'

0 comments on commit 0f9288f

Please sign in to comment.