diff --git a/src/bin/dotify b/src/bin/dotify old mode 100644 new mode 100755 index c5c9143..7ecacec --- a/src/bin/dotify +++ b/src/bin/dotify @@ -33,7 +33,7 @@ source "../lib/internals.sh" source "../lib/dotify-version.sh" source "../lib/dotify-help.sh" source "../lib/dotify-info.sh" -source "../lib/dotify-run.sh" +source "../lib/dotify-install.sh" # # Command Parsing @@ -60,8 +60,8 @@ case "$command" in "info" ) dotify-info "$@" ;; - "" | "link" | "symlink" ) - dotify-symlink "$@" + "" | "install" ) + dotify-install ;; esac diff --git a/src/lib/dotify-run.sh b/src/lib/dotify-install.sh similarity index 59% rename from src/lib/dotify-run.sh rename to src/lib/dotify-install.sh index a1af050..4a1857a 100644 --- a/src/lib/dotify-run.sh +++ b/src/lib/dotify-install.sh @@ -1,8 +1,8 @@ -dotify-run() { - local dotfile="$(locate-dotfile "$@")" +dotify-install() { + local dotfile="$(locate-dotfile)" if [ -z "$dotfile" ]; then return 1; fi - local target="$(locate-target "$@")" + local target="$(locate-target)" if [ -z "$target" ]; then return 1; fi parse-dotfile "$dotfile" "$target"