cleanup: make linter happy
authorAJ ONeal <aj@therootcompany.com>
Mon, 26 Apr 2021 07:40:13 +0000 (07:40 +0000)
committerAJ ONeal <aj@therootcompany.com>
Mon, 26 Apr 2021 07:40:13 +0000 (07:40 +0000)
nerdfont/install.sh

index b281c8ffc78a33f17c5143c2a640cab731e05ef8..179d5c060ca1c184bd5a44014b8296cf3691ae8e 100644 (file)
@@ -10,15 +10,15 @@ install() {
     if [ -e "$HOME/Library/Fonts" ]; then
         # OS X
         mv "$my_nerdfont" ~/Library/Fonts/
-        my_fontdir="~/Library/Fonts/"
+        my_fontdir="Library/Fonts/"
     else
         # Linux
         mkdir -p ~/.local/share/fonts
         mv "$my_nerdfont" ~/.local/share/fonts/
-        my_fontdir="~/.local/share/fonts/"
+        my_fontdir=".local/share/fonts/"
     fi
 
-    echo "Installed $my_nerdfont to $my_fontdir"
+    echo "Installed $my_nerdfont to ~/$my_fontdir"
 }
 
 install