Cheatsheet

This commit is contained in:
Thomas Forgione 2024-03-06 11:03:01 +01:00
parent c3303a9842
commit 60c083cafb
2 changed files with 6 additions and 1 deletions

View File

@ -142,3 +142,8 @@ def --env y [] {
yazi --cwd-file $cwd_file
cd (cat $cwd_file)
}
# Show cheatsheet
def cheat [] {
pueue add -e evince ($env.HOME + '/git/gitea.tforgione.fr/tforgione/cheat/build/main.pdf')
}

View File

@ -55,7 +55,7 @@ def mount-disk [] {
if ("SECONDARY_DISK_UUID" in $env) {
$passphrase | sudo cryptsetup luksOpen ("/dev/disk/by-uuid/" + $env.SECONDARY_DISK_UUID) luks2
sudo mount /dev/mapper/luks2 /mnt
sudo mount /dev/mapper/luks2 /data
}
# Some services cannot be started on boot because my encrypted drives are