diff options
Diffstat (limited to 'emacs/symlink_custom_functions.sh')
-rwxr-xr-x | emacs/symlink_custom_functions.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/emacs/symlink_custom_functions.sh b/emacs/symlink_custom_functions.sh deleted file mode 100755 index f35ce9c5ffed..000000000000 --- a/emacs/symlink_custom_functions.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env zsh - -SCRIPT_DIR="${HOME}/dotfiles/emacs" -EMACS_FUNC_DIR="${HOME}/.emacs.d" - -for source in $(find $SCRIPT_DIR -type f -name '*.el'); do - filename=$(basename $source) - target="${EMACS_FUNC_DIR}/${filename}" - - if [ ! -L $target ]; then - echo -n "Creating symlink for ${filename} ... " && \ - ln -s $source $EMACS_FUNC_DIR && \ - echo "Done." - else - echo "${filename} is already properly symlinked." - fi - -done |