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:
parent
cf8e484853
commit
255aec2e53
2 changed files with 5 additions and 0 deletions
|
@ -25,3 +25,4 @@ alias \
|
||||||
hx='helix' \
|
hx='helix' \
|
||||||
sudo='doas'
|
sudo='doas'
|
||||||
|
|
||||||
|
alias history='fc -l 0'
|
||||||
|
|
|
@ -8,3 +8,7 @@ ctrlz() {
|
||||||
}
|
}
|
||||||
zle -N ctrlz
|
zle -N ctrlz
|
||||||
bindkey '^Z' ctrlz
|
bindkey '^Z' ctrlz
|
||||||
|
|
||||||
|
squash() {
|
||||||
|
mksquashfs "$1" "$1.zst.sfs" -comp zstd -Xcompression-level 15
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue