mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +01:00
install: note templatedir and pre-commit
This commit is contained in:
parent
33c0cb179b
commit
2b9d8f3eab
5
install
5
install
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user