Skip to content

Commit

Permalink
Add 'fix' alias
Browse files Browse the repository at this point in the history
From dgmstuart
  • Loading branch information
Duncan Brown committed Jan 10, 2017
1 parent 1bc36cd commit d9256b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aliases
Expand Up @@ -6,6 +6,7 @@ alias tails='tail -f'
alias weather="ansiweather -l London,GB -d true"
alias bopen="EDITOR=atom bundle open"
alias r="rubocop && rspec"
alias fix='$EDITOR `git diff --name-only | uniq`'

newfiles() {
git untracked | xargs -L 1 -I {} sh -c "echo \"\n* \"{} *\"\n\"; highlight --force -O ansi {} | more -r"
Expand Down

0 comments on commit d9256b6

Please sign in to comment.