Skip to content

Commit

Permalink
Prefer vscode in macOS again
Browse files Browse the repository at this point in the history
zed is not yet perfect, and I prefer stable one for darwin
  • Loading branch information
kachick committed Oct 22, 2024
1 parent d491ed5 commit 638de53
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions home-manager/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ 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
# * `cli: install` action installs into this path in macOS
VISUAL = "zed --wait";
# ## If you prefer zed
# * 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 = "zed --wait";
VISUAL = lib.getExe edge-pkgs.vscode;

BROWSER = "open";
};
Expand Down

0 comments on commit 638de53

Please sign in to comment.