Skip to content

Commit

Permalink
(emacs) fix path on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
fbegyn committed May 11, 2024
1 parent b4be007 commit 8ba0191
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions users/francis/hm/configurations/emacs/base-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
(setq mac-command-modifier 'super) ; command as super
(setq mac-option-modifier 'meta) ; alt as meta
(setq mac-control-modifier 'control)) ; control as control
;; Set path for darwin
(setenv "PATH" (concat (getenv "PATH") ":/Users/francis/.nix-profile/bin:/usr/bin:/etc/profiles/per-user/francis/bin:/run/current-system/sw/bin"))
(setq exec-path (append '("/Users/francis/bin" "/profile/bin" "/Users/francis/.npm-packages/bin" "/Users/francis/.nix-profile/bin" "/nix/var/nix/profiles/default/bin" "/usr/local/bin" "/usr/bin" "/Users/francis/.go/bin" "/Users/francis/.local/bin" "/Users/francis/.cargo/bin" "/etc/profiles/per-user/francis/bin" "/run/current-system/sw/bin") exec-path))

;; emacs-mac
(when (fboundp 'mac-auto-operator-composition-mode)
(mac-auto-operator-composition-mode) ; enables font ligatures
Expand Down

0 comments on commit 8ba0191

Please sign in to comment.