commit 13049cd0b1d3a42b56cb2002dcf6c36ea4d9b32b
parent 7fb571449a5974a4d1c851b9392adccba89d090b
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 8 Jan 2019 20:28:19 +0100
conf stow -> conf use
Former-commit-id: 25b7cebf23e4e11a2d96868ddac1c5fe3f53ee28
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/bin/conf b/bin/conf
@@ -13,8 +13,8 @@ lncommand() {
}
#}}}
-# Stow command {{{
-stow_files() {
+# Use command {{{
+use_files() {
if [ $# -gt 0 ]; then
for f in "$@"; do
case "${f##./}" in
@@ -105,8 +105,8 @@ if [ $# -gt 0 ]; then
elif [ "$1" = 'get' ]; then
conf_check echo "$CONF_DIR"
- elif [ "$1" = 'stow' ]; then
- stow_files "${@:2}"
+ elif [ "$1" = 'use' ]; then
+ use_files "${@:2}"
else
conf_check "$(command -v git)" --git-dir="$CONF_DIR"/.git --work-tree "$CONF_DIR" "$@"
diff --git a/install.sh b/install.sh
@@ -32,7 +32,7 @@ fi
#}}}
export CONF_DIR="$HOME/.dotfiles"
-bin/conf stow $(find . ! -iwholename '*.git*' -type d -d 1)
+bin/conf use $(find . ! -iwholename '*.git*' -type d -d 1)
echo "Dotfiles installed."
bin/conf reload