We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ls
1 parent 2bf259a commit 1eff056Copy full SHA for 1eff056
install.sh
@@ -3,9 +3,9 @@
3
CSDIR="${XDG_CONFIG_HOME:-$HOME/.config}/geany/colorschemes/"
4
echo "Installing themes into '$CSDIR'..."
5
mkdir -p "$CSDIR"
6
-for SCHEME in `ls colorschemes/*.conf`
7
-do
8
- BNAME=`basename "$SCHEME"`
+
+for SCHEME in colorschemes/*.conf; do
+ BNAME="${SCHEME##*/}"
9
echo " => $BNAME"
10
cp "$SCHEME" "$CSDIR"
11
done
0 commit comments