From ded68f4a93c2d8996b6977c1f967a5d27f47306b Mon Sep 17 00:00:00 2001 From: gpkvt Date: Sat, 15 Jul 2023 03:19:00 +0200 Subject: [PATCH] Auto font installation --- README.md | 10 +++------- fonts/deploy.zsh | 8 ++++++++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5cebf6b..cb66a80 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,12 @@ -# Remarks +# Install / Update -Run `make install` or `./install.zsh` +Run `make install` or `./install.zsh` to install the dotfiles. Run `make update` or `./install.zsh update` to update the dotfiles. ## Private files Some dotfiles contains sensitive informationen (e.g. Credentials) you don't want to share in public git repos. Therefore you can create an folder named `private` to check out a private git repo there including all you sensitive files. This folder will not be included in the public repo. -## Fonts for p10k - -`fonts` needs to be installed manually - -## tmux +## tmux ### Plugin and Theme Installation diff --git a/fonts/deploy.zsh b/fonts/deploy.zsh index e69de29..3e25288 100755 --- a/fonts/deploy.zsh +++ b/fonts/deploy.zsh @@ -0,0 +1,8 @@ +#! /bin/zsh + +#! /bin/zsh + +GIT_ROOT=$(git rev-parse --show-toplevel) + +mkdir -p ~/.fonts/ +ln -s ${GIT_ROOT}/fonts/Hack* ~/.fonts/