Skip to content

Commit

Permalink
comments, two letter min aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
isao committed Apr 18, 2012
1 parent 258ab17 commit 8322585
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions tcsh/aliases.tcsh
Expand Up @@ -44,20 +44,23 @@ endif
# view man page as a PDF
if(-x /Applications/Preview.app) alias man2pdf 'man -t \!* | open -f -a /Applications/Preview.app'

#cd to finder cwd
if(-X osascript) then
alias fcd 'cd `osascript ~/Repos/shell/misc-osx/findercwd.applescript`'
endif

#quick svn statuses
if(-X svn) then
alias s 'svn status --quiet --ignore-externals \!*'
alias ss 'svn status \!* | grep ^\?'
alias ss 'svn status --quiet --ignore-externals \!*'
alias ss? 'svn status \!* | grep ^\?'
alias sss "svn status --no-ignore \!* |egrep '^[?IX]'"
endif

#quick git statuses
if(-X git) then
alias g 'git status --short --untracked-files=no \!*'
alias gg 'git status --short --untracked-files=normal \!* | grep ^\? && git stash list'
alias ggg 'git status --short \!*'
alias gu 'git gui \!*'
alias gu 'git gui \!*'
if(-X bbdiff) alias gd 'git difftool \!*'
alias gg 'git status --short --untracked-files=no \!*'
alias gg? 'git status --short --untracked-files=normal \!* | grep ^\? && git stash list'
alias ggg 'git status --short \!*'
endif

0 comments on commit 8322585

Please sign in to comment.