Skip to content

Commit

Permalink
Fix zed path in darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Sep 6, 2024
1 parent fa23206 commit 0bb671c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions home-manager/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ lib.mkMerge [
(lib.mkIf pkgs.stdenv.isDarwin {
home = {
sessionVariables = {
# Do not specify Nix store path for zed in macOS
# https://github.com/NixOS/nixpkgs/blob/bba8dffd3135f35810e9112c40ee621f4ede7cca/pkgs/by-name/ze/zed-editor/package.nix#L217-L219
VISUAL = "zed --wait";
# * Do not specify Nix store path for zed in macOS
# https://github.com/NixOS/nixpkgs/blob/bba8dffd3135f35810e9112c40ee621f4ede7cca/pkgs/by-name/ze/zed-editor/package.nix#L217-L219
# * `cli: install` action installs into this path in macOS
VISUAL = "/usr/local/bin/zed --wait";
};
};

Expand Down

0 comments on commit 0bb671c

Please sign in to comment.