If you are a Drupal developer you will probably find something interesting in my dotfiles.
They don't have much in them but they have just enough to get me going whenever I need to work in different environments.
- Git (2.x recommended)
Optional, but recommended:
- drush - A command line shell and scripting interface for Drupal.
The bootstrapper will back up all your existing files before it installs anything new. It'll also warn you if a dependency isn't met.
$ bash <(curl -fsSL https://raw.githubusercontent.com/jorgegc/dotfiles/master/scripts/bootstrap.sh)
Don't worry, all your old files will be backed up in
Upgrading is easy, all you need to do is run the bootstrapper again.
Changes to the
~/.dotfiles/.path exists, it will be sourced along with the other files. You can use this to change the
without having to fork this entire repository.
Here’s an example
~/.dotfiles/.path file that adds
~/utils to the
Same as the
~/.dotfiles/.extra exists, it will be sourced along with the other files. You can use this to
add a few custom commands without having to fork this entire repository or to add commands you don’t want to commit to a
~/.dotfiles/.extra at work looks something like this:
# Make sure I use the work email address when committing to Git. GIT_AUTHOR_NAME="Jorge Castro" GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" git config --global user.name "$GIT_AUTHOR_NAME" GIT_AUTHOR_EMAIL="email@example.com" GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" git config --global user.email "$GIT_AUTHOR_EMAIL"
You could also use
~/.dotfiles/.extra to override settings, functions and aliases from my dotfiles repository.
However, it would probably better to fork this repository instead.
What is included
Check out .aliases