From d5c6e37a107e1fda26f4b2ed16bbc7d65e5ee3b3 Mon Sep 17 00:00:00 2001 From: eeva Date: Fri, 18 Mar 2016 17:57:58 +0100 Subject: [PATCH] Changing warning message --- configure | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 -