Compare commits

..

3 Commits

Author SHA1 Message Date
Xavier Logerais
6cfdf3d893 feat: add new tool mise-en-place (https://mise.jdx.dev/) 2024-06-13 10:33:13 +02:00
Xavier Logerais
16a3d01993 feat: improve git config with global gitignore 2024-06-13 10:32:07 +02:00
Xavier Logerais
f247a375d8 feat: move bash config to config.d 2024-06-13 10:31:44 +02:00
4 changed files with 26 additions and 8 deletions

View File

@ -1,13 +1,5 @@
#!/bin/bash
# Configuration BASH
if [[ ! -d ~/.bash ]]
then
git clone --recursive https://github.com/xlogerais/config-bash.git ~/.bash
bash ~/.bash/create-links.bash
fi
for file in config.d/*.bash
do
bash $file

9
config.d/bash.bash Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# Configuration BASH
if [[ ! -d ~/.bash ]]
then
git clone --recursive https://github.com/xlogerais/config-bash.git ~/.bash
bash ~/.bash/create-links.bash
fi

View File

@ -6,3 +6,13 @@ git config --global user.name "Xavier Logerais"
git config --global user.email "xavier@logerais.com"
git config --global rerere.enabled 1
git config --global merge.conflictstyle diff3
cat <<EOF >~/.gitignore
# asdf
.tool-versions
# direnv
.envrc
.direnv
EOF
git config --global core.excludesfile ~/.gitignore

7
tools.d/mise.bash Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
# Install mise-en-place
if (command -v mise &>/dev/null); then
curl https://mise.run | sh
fi