Skip to content

Commit

Permalink
added inputrc, ruby_test aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Clayton committed Jun 25, 2009
1 parent af4d49c commit 0dce519
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -20,7 +20,7 @@ task :install do
home = ENV['HOME']
pwd = File.dirname(__FILE__)

%w(ackrc dir_colors gemrc vimrc vim irbrc irbrc.d bash_profile bash_profile.d).each do |file|
%w(ackrc dir_colors gemrc vimrc vim irbrc irbrc.d bash_profile bash_profile.d inputrc).each do |file|
symlink("#{pwd}/#{file}", "#{home}/.#{file}")
end
end
Expand Down
5 changes: 4 additions & 1 deletion bash_profile.d/alias.sh
Expand Up @@ -6,14 +6,17 @@ alias gci='git commit'
alias oldrake="rake _0.7.3_"
alias bp="cd '/Users/joshuaclayton/Sites/plugins/blueprint-css/lib/'; ruby compress.rb"
alias s="cd ~/Sites"
alias tu="ruby_test unit"
alias tf="ruby_test functional"
alias ti="ruby_test integration"
alias remigrate="rake db:migrate && rake db:migrate:redo && rake db:schema:dump && rake db:test:prepare"

alias ..='cd ../'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'
alias .......='cd ../../../../../..'

alias stop_mysql='sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysqld.plist'
alias start_mysql='sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plist'

Expand Down
4 changes: 4 additions & 0 deletions inputrc
@@ -0,0 +1,4 @@
set -o vi
set editing-mode vi
set keymap vi
set convert-meta on

0 comments on commit 0dce519

Please sign in to comment.