Add wakatime.cfg and adapt vimrc

This commit is contained in:
Tobias Reisinger 2022-10-04 23:17:16 +02:00
parent 4b98cab3cd
commit 3adb1783fb
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 24 additions and 1 deletions

View file

@ -21,3 +21,10 @@ then
mkdir -p "$HOME/.local/bin"
curl -sS "https://starship.rs/install.sh" | BIN_DIR="$HOME/.local/bin" FORCE=1 sh
fi
if [ -x "$(command -v envsubst)" ]
then
wakatime_cfg="$WAKATIME_HOME/.wakatime.cfg"
wakatime_tpl="$wakatime_cfg.tpl"
envsubst < "$wakatime_tpl" > "$wakatime_cfg"
fi