1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-25 11:10:18 +00:00

Add alias for viewing command history and function for creating compressed squashfs files

This commit is contained in:
Luna 2023-04-15 16:44:23 +02:00
parent cf8e484853
commit 255aec2e53
2 changed files with 5 additions and 0 deletions

View file

@ -25,3 +25,4 @@ alias \
hx='helix' \
sudo='doas'
alias history='fc -l 0'

View file

@ -8,3 +8,7 @@ ctrlz() {
}
zle -N ctrlz
bindkey '^Z' ctrlz
squash() {
mksquashfs "$1" "$1.zst.sfs" -comp zstd -Xcompression-level 15
}