mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +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/zshrc > ~/.zshrc
|
||||||
cat rc/profile > ~/.profile
|
cat rc/profile > ~/.profile
|
||||||
cat conf/gitconfig > ~/.gitconfig
|
cat conf/gitconfig > ~/.gitconfig
|
||||||
|
mkdir -p ~/.git-template
|
||||||
cat rc/vimrc > ~/.vimrc
|
cat rc/vimrc > ~/.vimrc
|
||||||
mkdir -p ~/.config/nvim/
|
mkdir -p ~/.config/nvim/
|
||||||
cat conf/init.vim > ~/.config/nvim/init.vim
|
cat conf/init.vim > ~/.config/nvim/init.vim
|
||||||
@ -35,6 +36,10 @@ mkdir -p ~/.ssh/sockets/
|
|||||||
chmod a+xr chmod
|
chmod a+xr chmod
|
||||||
bash -x ./chmod&
|
bash -x ./chmod&
|
||||||
|
|
||||||
|
if hash pre-commit 2>/dev/null; then
|
||||||
|
pre-commit init-templatedir ~/.git-template
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f $HOME/.MIKAELAGREP ]
|
if [ -f $HOME/.MIKAELAGREP ]
|
||||||
then
|
then
|
||||||
mv $HOME/.MIKAELAGREP $MIKAELA_GREP
|
mv $HOME/.MIKAELAGREP $MIKAELA_GREP
|
||||||
|
Loading…
Reference in New Issue
Block a user