mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-19 04:47:19 +02:00
Compare commits
4 Commits
6006a28f4c
...
442a4fb89a
Author | SHA1 | Date | |
---|---|---|---|
442a4fb89a | |||
2b9d8f3eab | |||
33c0cb179b | |||
ac132f61fb |
@ -71,6 +71,9 @@
|
|||||||
ff = only
|
ff = only
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = cxefa
|
defaultBranch = cxefa
|
||||||
|
# https://pre-commit.com/#pre-commit-init-templatedir
|
||||||
|
# pre-commit init-templatedir ~/.git-template
|
||||||
|
templateDir = ~/.git-template
|
||||||
[advice]
|
[advice]
|
||||||
# I am not developing in detached head state, I generally want to compile
|
# I am not developing in detached head state, I generally want to compile
|
||||||
# a specific version of a program and I know how to get out of it
|
# a specific version of a program and I know how to get out of it
|
||||||
|
@ -14,6 +14,10 @@ repos:
|
|||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: fix-byte-order-marker
|
- id: fix-byte-order-marker
|
||||||
|
#- id: trailing-whitespace
|
||||||
|
# Two lines later must be prettierignored or it gets spaces and breaks
|
||||||
|
# prettier-ignore
|
||||||
|
#args: [--markdown-linebreak-ext=txt,tsv]
|
||||||
|
|
||||||
# Markdown Table of Contents generation.
|
# Markdown Table of Contents generation.
|
||||||
- repo: https://github.com/thlorenz/doctoc
|
- repo: https://github.com/thlorenz/doctoc
|
||||||
|
@ -71,6 +71,9 @@
|
|||||||
ff = only
|
ff = only
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = cxefa
|
defaultBranch = cxefa
|
||||||
|
# https://pre-commit.com/#pre-commit-init-templatedir
|
||||||
|
# pre-commit init-templatedir ~/.git-template
|
||||||
|
templateDir = ~/.git-template
|
||||||
[advice]
|
[advice]
|
||||||
# I am not developing in detached head state, I generally want to compile
|
# I am not developing in detached head state, I generally want to compile
|
||||||
# a specific version of a program and I know how to get out of it
|
# a specific version of a program and I know how to get out of it
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit a25c35db937f75e6056e060e96e367a41879fc66
|
Subproject commit 3ff57cd1b764615364d083388344a5b69d44ad14
|
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…
x
Reference in New Issue
Block a user