install: note templatedir and pre-commit

This commit is contained in:
Aminda Suomalainen 2023-05-04 13:39:10 +03:00
parent 33c0cb179b
commit 2b9d8f3eab
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ cat conf/tmux.conf > ~/.tmux.conf
cat rc/zshrc > ~/.zshrc
cat rc/profile > ~/.profile
cat conf/gitconfig > ~/.gitconfig
mkdir -p ~/.git-template
cat rc/vimrc > ~/.vimrc
mkdir -p ~/.config/nvim/
cat conf/init.vim > ~/.config/nvim/init.vim
@ -35,6 +36,10 @@ mkdir -p ~/.ssh/sockets/
chmod a+xr chmod
bash -x ./chmod&
if hash pre-commit 2>/dev/null; then
pre-commit init-templatedir ~/.git-template
fi
if [ -f $HOME/.MIKAELAGREP ]
then
mv $HOME/.MIKAELAGREP $MIKAELA_GREP