Cheatsheet
This commit is contained in:
parent
c3303a9842
commit
60c083cafb
|
@ -142,3 +142,8 @@ def --env y [] {
|
||||||
yazi --cwd-file $cwd_file
|
yazi --cwd-file $cwd_file
|
||||||
cd (cat $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')
|
||||||
|
}
|
||||||
|
|
|
@ -55,7 +55,7 @@ def mount-disk [] {
|
||||||
|
|
||||||
if ("SECONDARY_DISK_UUID" in $env) {
|
if ("SECONDARY_DISK_UUID" in $env) {
|
||||||
$passphrase | sudo cryptsetup luksOpen ("/dev/disk/by-uuid/" + $env.SECONDARY_DISK_UUID) luks2
|
$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
|
# Some services cannot be started on boot because my encrypted drives are
|
||||||
|
|
Loading…
Reference in New Issue