pre-commit run --all-files

This commit is contained in:
Aminda Suomalainen 2024-06-11 21:14:38 +03:00
parent d1da869397
commit a2e39104ba
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
8 changed files with 33 additions and 36 deletions

1
.gitignore vendored
View File

@ -23,5 +23,4 @@
install.run
LICENSE
node_modules/

View File

@ -1,5 +1,3 @@
*.py*
*.jupyter
*.json
# prettier-plugin-sh is very unhappy with it
rc/zshrc

View File

@ -1,6 +1,6 @@
<pastebinit>
<pastebin>http://sprunge.us</pastebin>
<author></author>
<jabberid></jabberid>
<author />
<jabberid />
<format>text</format>
</pastebinit>

View File

@ -1,21 +1,21 @@
<config>
<!-- Client Control -->
<client-threads v='2'/>
<fold-anon v='true'/>
<client-threads v='2' />
<fold-anon v='true' />
<!-- Folding Core -->
<cpu-usage v='50'/>
<gpu-usage v='50'/>
<cpu-usage v='50' />
<gpu-usage v='50' />
<!-- Slot Control -->
<power v='MEDIUM'/>
<power v='MEDIUM' />
<!-- User Information -->
<passkey v=''/>
<team v='201753'/>
<user v='Mikaela'/>
<passkey v='' />
<team v='201753' />
<user v='Mikaela' />
<!-- Folding Slots -->
<slot id='0' type='CPU'/>
<slot id='1' type='GPU'/>
<slot id='0' type='CPU' />
<slot id='1' type='GPU' />
</config>

View File

@ -1 +1 @@
*.json.badidea linguist-language=json
*.json.badidea linguist-language=json

View File

@ -7,7 +7,7 @@ set -x
# I know there are old versions that used something else, but I don't remember
# that name and they are ancient.
if ! hash resolvectl 2>/dev/null; then
if ! hash resolvectl 2> /dev/null; then
echo "You don't seem to have systemd-resolved (or resolvectl) installed." 1>&2
exit 1
fi

34
install
View File

@ -13,42 +13,42 @@ fi
export MIKAELA_GREP=$HOME/.MIKAELA_GREP
cat rc/bashrc >~/.bashrc
cat conf/tmux.conf >~/.tmux.conf
cat rc/zshrc >~/.zshrc
cat rc/profile >~/.profile
cat rc/bashrc > ~/.bashrc
cat conf/tmux.conf > ~/.tmux.conf
cat rc/zshrc > ~/.zshrc
cat rc/profile > ~/.profile
mkdir -p ~/.config/git
cat conf/gitconfig >~/.config/git/config
cat conf/gitconfig > ~/.config/git/config
touch ~/.gitconfig
rm ~/.gitconfig
ln -nsfv ~/.config/git/config ~/.gitconfig
mkdir -p ~/.git-template
cat rc/vimrc >~/.vimrc
cat rc/vimrc > ~/.vimrc
mkdir -p ~/.config/nvim/
cat conf/init.vim >~/.config/nvim/init.vim
cat conf/makepkg.conf >~/.makepkg.conf
cat conf/init.vim > ~/.config/nvim/init.vim
cat conf/makepkg.conf > ~/.makepkg.conf
mkdir -p ~/.config/mpv/
cat conf/mpv.conf >~/.config/mpv/mpv.conf
cat conf/mpv.conf > ~/.config/mpv/mpv.conf
if [ ! -f ~/.oidentd.conf ]; then
cat conf/oidentd.conf >~/.oidentd.conf
cat conf/oidentd.conf > ~/.oidentd.conf
fi
mkdir -p ~/.gnupg
cat gpg/gpg.conf >~/.gnupg/gpg.conf
cat gpg/gpg-agent.conf >~/.gnupg/gpg-agent.conf
cat gpg/dirmngr.conf >~/.gnupg/dirmngr.conf
cat gpg/gpg.conf > ~/.gnupg/gpg.conf
cat gpg/gpg-agent.conf > ~/.gnupg/gpg-agent.conf
cat gpg/dirmngr.conf > ~/.gnupg/dirmngr.conf
killall -HUP dirmngr
#cat rc/xinitrc > ~/.xinitrc
cat conf/pastebinit.xml >~/.pastebinit.xml
cat conf/Xresources >~/.Xresources
cat conf/pastebinit.xml > ~/.pastebinit.xml
cat conf/Xresources > ~/.Xresources
mkdir -p ~/.inxi
cat conf/inxi.conf >~/.inxi/inxi.conf
cat conf/inxi.conf > ~/.inxi/inxi.conf
gpg --quiet --import .mikaela/keys/*.asc &
mkdir -p ~/.ssh/sockets/
chmod a+xr chmod
bash -x ./chmod &
git submodule update --init &
if hash pre-commit 2>/dev/null; then
if hash pre-commit 2> /dev/null; then
pre-commit init-templatedir ~/.git-template
pre-commit gc
fi

View File

@ -2,7 +2,7 @@
PATH=$HOME/.local/bin:$HOME/bin:$HOME/go/bin:$HOME/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/snap/bin:/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/games:$PATH
# Add RubyGems to PATH
if hash ruby 2>/dev/null; then
if hash ruby 2> /dev/null; then
PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
fi
@ -21,7 +21,7 @@ PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS;
ulimit -c unlimited
# Numlock on at boot
if hash numlockx 2>/dev/null; then
if hash numlockx 2> /dev/null; then
numlockx on
fi