added better extension support and updated readme for usage instructions

moveTools
Adam Veldhousen 2015-10-22 14:16:47 -05:00
parent b19ecfb8ae
commit f9eab14704
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
2 changed files with 14 additions and 2 deletions

View File

@ -31,8 +31,14 @@ if [ -f /etc/bash_completion ]; then
fi
# for when you want to do custom junk
if [ -d ~/.extensions ]; then
if [ -f ~/.extensions ]; then
. ~/.extensions
# Sources a folder with shell extensions
elif [ -d ~/.extensions ]; then
echo "sourcing plugins"
for plugin in ~/.extensions/; do
echo $plugin
done
fi
printmotd

View File

@ -9,7 +9,13 @@ My dot files
2. cd into laughing-hipster
3. run `./bootstrap.sh`
The installer preserves your ssh config and everything in the .ssh folder.
The installer backs up your current home folder dotfiles into `.home_bkup` and then symlinks in the dotfiles for this repo. The installer also preserves your ssh config if you have customized it already.
Because everything is symlinked, all you have to do for most updates is just `git pull`.
## Extending with custom scripts
This set up will source all files found in a `~/.extensions/` directory or in a file named `~/.extensions` at the last moment. This allows you to extend and customize how everything works to your liking.
## Uninstall