1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-18 16:26:50 +00:00

chore: Improve readability and installation process of config files.

- Add installation of config files in `.config` directory
- Improve readability of installation output with empty lines and section headers
- Fix typos in installation script comments
- Add comments to explain each section of the installation script
This commit is contained in:
Luna 2023-04-08 01:00:52 +02:00
parent 84f906e759
commit 704d58b20e

View file

@ -36,6 +36,13 @@ if [ -n "${NPM_CONFIG_PREFIX}" ]; then
fi
cp -v .tmux.conf ~/.tmux.conf
echo
echo "[*] installing config files"
install -m644 .zshrc -t "$HOME"
find config -type f | while read file; do
install $file $(echo $file | sed "s|config|$HOME/.config|")
done
echo
echo "[*] installing executables"
@ -43,4 +50,5 @@ find bin -type f | while read -r file; do
install $file $(echo $file | sed "s|bin|$HOME/.local/bin|")
done
source $HOME/.zshrc