Compare commits

..

No commits in common. "7295fd6057c612dea727270e841e043ba30b9d46" and "c228c08ad86420c091b2f5ec5c65cd41c698ea2f" have entirely different histories.

6 changed files with 9 additions and 19 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
bash os.bash bash system-ubuntu.bash
bash tools.bash bash tools.bash
bash fonts.bash bash fonts.bash
bash config.bash bash config.bash

View File

@ -4,11 +4,8 @@
git config --global user.name "Xavier Logerais" git config --global user.name "Xavier Logerais"
git config --global user.email "xavier@logerais.com" git config --global user.email "xavier@logerais.com"
git config --global credential.helper cache
git config --global merge.conflictstyle diff3
git config --global rerere.enabled 1 git config --global rerere.enabled 1
git config --global merge.conflictstyle diff3
cat <<EOF >~/.gitignore cat <<EOF >~/.gitignore
### asdf ### ### asdf ###
@ -22,8 +19,4 @@ cat <<EOF >~/.gitignore
.venv .venv
EOF EOF
cat <<EOF >~/.gitattributes
EOF
git config --global core.excludesfile ~/.gitignore git config --global core.excludesfile ~/.gitignore
git config --global core.attributesfile ~/.gitattributes

View File

@ -12,9 +12,10 @@ fonts+=("DejaVuSansMono")
test -d "${fontdir}" || mkdir -p "${fontdir}" test -d "${fontdir}" || mkdir -p "${fontdir}"
# Download fonts # Download fonts
for font in "${fonts[@]}"; do for font in "${fonts[@]}"
wget -q -O "/tmp/${font}.zip" "https://github.com/ryanoasis/nerd-fonts/releases/latest/download/${font}.zip" && cd "${fontdir}" && unzip -u "/tmp/${font}.zip" && rm "/tmp/${font}.zip" do
wget -q -O /tmp/${font}.zip "https://github.com/ryanoasis/nerd-fonts/releases/latest/download/${font}.zip" && cd ${fontdir} && unzip -u /tmp/${font}.zip && rm /tmp/${font}.zip
done done
# Refresh cache # Refresh cache
fc-cache --force --verbose "${fontdir}" fc-cache --force --verbose ${fontdir}

View File

@ -1,5 +0,0 @@
#!/bin/bash
for file in os.d/*.bash; do
bash $file
done

View File

@ -1,9 +1,10 @@
#!/bin/bash #!/bin/bash
if (grep -q Ubuntu <(lsb_release -i)); then if ( grep -q Ubuntu <(lsb_release -i) )
then
sudo apt update sudo apt update
sudo apt upgrade -y sudo apt upgrade -y
sudo apt install -y coreutils grep less tar tree sudo apt install -y coreutils grep less tar tree
sudo apt install -y man manpages-fr manpages-fr-extra sudo apt install -y man manpages-fr manpages-fr-extra
sudo apt install -y bash zsh fish sudo apt install -y bash zsh fish