aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/functions.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh
index 2255af7..44ce51d 100644
--- a/.zsh.after/functions.zsh
+++ b/.zsh.after/functions.zsh
@@ -268,6 +268,9 @@ lopen() {
;;
"photos")
sudo cryptsetup luksOpen /dev/disk/by-id/ata-ST9500325AS_6VE457TN $1
+ if [ ! -h ~/.cache/shotwell ]; then
+ ln -s /mnt/photos/shotwell/ ~/.cache/shotwell
+ fi
;;
"backup")
sudo cryptsetup luksOpen /dev/disk/by-id/ata-HGST_HTS725050A7E630_TF755AWHHS9S1M $1