Skip to content

Commit

Permalink
add bash aliases.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 11, 2014
1 parent 8caa09f commit 6d31937
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
alias ..="cd .."
alias ...="cd ../.."

alias h='cd ~'
alias c='clear'

function serve() {
sudo dos2unix /vagrant/scripts/serve.sh
sudo bash /vagrant/scripts/serve.sh \$1 \$2
}
5 changes: 5 additions & 0 deletions scripts/homestead.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ def Homestead.configure(config, settings)
s.args = [File.read(settings["key"])]
end

# Copy The Bash Aliases
config.vm.provision "shell" do |s|
s.inline = "cp /vagrant/aliases /home/vagrant/.bash_aliases"
end

# Register All Of The Configured Shared Folders
settings["folders"].each do |folder|
config.vm.synced_folder folder["map"], folder["to"]
Expand Down

0 comments on commit 6d31937

Please sign in to comment.