diff --git a/install.sh b/install.sh index 33941a0..c5986fe 100755 --- a/install.sh +++ b/install.sh @@ -1,8 +1,9 @@ #!/bin/sh +SCRIPTDIR=$(dirname $(readlink -f "$0")) CSDIR="$HOME/.config/geany/colorschemes/" echo "Installing themes into \`$CSDIR'..." mkdir -p "$CSDIR" -for SCHEME in `ls colorschemes/*.conf` +for SCHEME in `ls ${SCRIPTDIR}/colorschemes/*.conf` do BNAME=`basename "$SCHEME"` echo " => $BNAME"