Skip to content

Instantly share code, notes, and snippets.

@shime
Forked from steveklabnik/log.txt
Created August 19, 2012 11:32
Show Gist options
  • Save shime/3394374 to your computer and use it in GitHub Desktop.
Save shime/3394374 to your computer and use it in GitHub Desktop.
A fun shell script from #euruku
$ history | awk {'print $2, $3, $4'} | sort | uniq -c | sort -k1 -rn | head -n 30
610 git status
568 git commit -m
491 git add .
252 git push origin
176 bundle
138 rails s
128 ls
120 git commit --amend
114 git reset --hard
109 rvm use 1.9.3
104 cd ..
103 mvim Gemfile
94 rake db:migrate
90 git log
75 rails c
74 rake
70 rake test
68 bundle exec rake
67 git push heroku
63 git fetch origin
58 exit
49 git checkout master
44 git rebase -i
41 bundle update
40 git rebase origin/master
40 cucumber
38 git diff
38 git checkout -b
37 rspec
35 irb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment