1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-23 13:48:03 +00:00

Better compress, clean, gitconfig; ccache

This commit is contained in:
Phantop 2021-07-25 00:19:15 -04:00
parent af4f721cfb
commit 8989c31d7a
4 changed files with 7 additions and 3 deletions

View file

@ -2,6 +2,6 @@ set -x EDITOR nvim
set -x PAGER most
set -x MANPAGER "nvim -c 'set ft=man' -"
fish_add_path -g ~/.local/bin
fish_add_path -g ~/.local/bin /usr/lib64/ccache/bin
starship init fish | source
source /usr/share/autojump/autojump.fish

View file

@ -38,9 +38,11 @@
b = branch
c = commit
ca = commit --amend
caa = commit --amend -a
ch = checkout
cl = gc --aggressive --prune=now
g = clone
gr = clone --recursive
l = log
open = browse
p = pull

View file

@ -32,7 +32,7 @@ a v vi
a vi nvim
a ydl 'youtube-dl -ciw --write-sub --write-auto-sub --embed-subs --sub-lang=en -o "%(title)s.%(ext)s"'
a compress '7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on (realpath $argv).7z'
a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv[1]).7z'
a dwarf 'mkdwarfs -i . -o $PWD.dwarfs'
a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i'
a squash 'mksquashfs . $PWD.squashfs -comp zstd -b 1M -Xcompression-level 22'

View file

@ -8,8 +8,10 @@ fc-cache -f
rm -r ~/.cache
fish -c "j --purge"
docker system prune -f
docker image prune -a
sudo solbuild delete-cache
sudo rm -rf /var/lib/solbuild/packages /var/lib/solbuild/sources
sudo rm -rf /var/lib/solbuild
sudo solbuild init -p unstable-x86_64
sudo journalctl --vacuum-size=1K
bleachbit -c `bleachbit -l|rg -v 'system.free_disk_space|transmission|system.memory|cookies'`
sudo bleachbit -c `bleachbit -l|rg -v 'system.free_disk_space|system.memory'`