all repos — nixfiles @ 10a8a1ae9e5c5a41997a489b5cee6a06339ea3e8

System and user configuration, managed by nix and home-manager

zsh: add dir hash for local iCloud directory
Alan Pearce alan@alanpearce.eu
Sun, 06 Aug 2023 20:08:56 +0200
commit

10a8a1ae9e5c5a41997a489b5cee6a06339ea3e8

parent

3f1c020881676afcf04d11dafa69d47e301240c4

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M user/settings/darwin.nixuser/settings/darwin.nix
@@ -134,6 +134,9 @@ };     };
   };
 
+  programs.zsh.dirHashes = {
+    icloud = "$HOME/Library/Mobile\ Documents/com~apple~CloudDocs";
+  };
   programs.zsh.shellAliases = {
     rb = "darwin-rebuild";
     rbs = "darwin-rebuild switch --flake $(ghq list -p nixfiles)";