lib/dots/functions.zsh in zsh_dots-0.5.4 vs lib/dots/functions.zsh in zsh_dots-0.5.5

- old
+ new

@@ -64,14 +64,10 @@ # Run a line of AppleScript to reload the bundles in TextMate. function tmbundle() { osascript -e 'tell app \"TextMate\" to reload bundles' } -function update_dots() { - dots update > /dev/null -} - # Reload DOTS after a change. function reload_dots() { source $HOME/.zshenv source $HOME/.zshrc echo 'DOTS reloaded!' @@ -85,6 +81,12 @@ # Remove TextMate junk from the directory. function rhombus() { find . -type f -name '._*' -exec rm {} + echo "Removed all ._ files" +} + +# Source a hidden configuration file, usually with the same name as +# the file it's in, but we set it here explicitly. +function hidden_config_for() { + source "$DOTS/config/$1.zsh" }