Changing warning message
This commit is contained in:
parent
3069437cc2
commit
d5c6e37a10
1 changed files with 7 additions and 6 deletions
13
configure
vendored
13
configure
vendored
|
@ -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 <program name> "
|
||||
echo ""
|
||||
echo "Usage: $(basename $0) <program name> "
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue