mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-05 09:09:21 +01:00
pre-commit run --all-files
This commit is contained in:
parent
d1da869397
commit
a2e39104ba
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,5 +23,4 @@
|
||||
install.run
|
||||
LICENSE
|
||||
|
||||
|
||||
node_modules/
|
||||
|
@ -1,5 +1,3 @@
|
||||
*.py*
|
||||
*.jupyter
|
||||
*.json
|
||||
# prettier-plugin-sh is very unhappy with it
|
||||
rc/zshrc
|
||||
|
@ -1,6 +1,6 @@
|
||||
<pastebinit>
|
||||
<pastebin>http://sprunge.us</pastebin>
|
||||
<author></author>
|
||||
<jabberid></jabberid>
|
||||
<author />
|
||||
<jabberid />
|
||||
<format>text</format>
|
||||
</pastebinit>
|
||||
|
@ -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>
|
||||
|
@ -1 +1 @@
|
||||
*.json.badidea linguist-language=json
|
||||
*.json.badidea linguist-language=json
|
||||
|
@ -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
34
install
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user