We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85621f5 commit fe801d0Copy full SHA for fe801d0
install.sh
@@ -1,10 +1,11 @@
1
#!/bin/sh
2
-CSDIR="$HOME/.config/geany/colorschemes/"
3
-echo "Installing themes into \`$CSDIR'..."
+
+CSDIR="${XDG_CONFIG_HOME:-$HOME/.config}/geany/colorschemes/"
4
+echo "Installing themes into '$CSDIR'..."
5
mkdir -p "$CSDIR"
-for SCHEME in `ls colorschemes/*.conf`
6
-do
7
- BNAME=`basename "$SCHEME"`
8
- echo " => $BNAME"
+cd 'colorschemes'
+for SCHEME in *.conf; do
9
+ echo " => $SCHEME"
10
cp "$SCHEME" "$CSDIR"
11
done
0 commit comments