A .editorconfig => .editorconfig +18 -0
@@ 0,0 1,18 @@
+root = true
+
+[*]
+end_of_line = lf
+
+[*.yml, *.json]
+indent_style = space
+indent_size = 2
+
+[*.{js,py}]
+charset = utf-8
+
+[*.py]
+indent_style = space
+indent_size = 4
+
+[Makefile]
+indent_style = tab
M install.sh => install.sh +10 -8
@@ 1,7 1,7 @@
#!/usr/bin/env fish
# Install bash configuration
-#./bash/install.sh
+#./bash/install.sh
# Copy vimrc
cp .vimrc $HOME/.vimrc
@@ 14,7 14,9 @@ cp -r .ssh $HOME/.ssh
# Copy other configuration files into ~/.config
cp -r .config/* $HOME/.config/
-# Source new configuration
+cp .editorconfig $HOME/.editorconfig
+
+# Source new configuration
source $HOME/.config/fish/config.fish
# Install APT packages if on Debian/Ubuntu
@@ 25,14 27,14 @@ end
# Install Pacman packages if on Arch
if type -q pacman
./archlinux/install.sh
-end
+end
# Install custom fonts
-if not test -d $HOME/.fonts
+if not test -d $HOME/.fonts
echo "Installing FontAwesome5 font"
- wget https://use.fontawesome.com/releases/v5.15.1/fontawesome-free-5.15.1-desktop.zip -O /tmp/fontawesome.zip
+ wget https://use.fontawesome.com/releases/v5.15.1/fontawesome-free-5.15.1-desktop.zip -O /tmp/fontawesome.zip
mkdir $HOME/.fonts
- unzip /tmp/fontawesome.zip -d /tmp/fontawesome
+ unzip /tmp/fontawesome.zip -d /tmp/fontawesome
cp /tmp/fontawesome/fontawesome-free-5.15.1-desktop/otfs/*.otf $HOME/.fonts/
- fc-cache -f -v
-end
+ fc-cache -f -v
+end