diff --git a/configure b/configure index b998019..058afb8 100755 --- a/configure +++ b/configure @@ -1,13 +1,15 @@ #!/bin/bash -#shopt -s extglob # For REGEXP -[[ $PWD == /home/$USER/dotfiles ]] || \ - echo "!!! WE'RE NOT IN >>>/home/$USER/dotfile/<<< !!!" +# This scripts installs user configuration by linking it in your home +# directory. It goes a little further when needed. + +[[ $PWD == /home/$USER/dotfiles ]] || + echo "!!! WE'RE NOT IN >>>/home/$USER/dotfile/<<< !!!" if [[ -z $1 ]] then - echo "Usage: $0 " - echo "" + echo "Usage: $(basename $0) " + echo " " echo "Give a program name and it will install its configuration. There are " echo "available configurations for: " ls -d ~/dotfiles/*/ @@ -26,4 +28,3 @@ case $1 in exit 1 ;; esac -