diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index a6a23d7c..3c7abdba 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1448,16 +1448,16 @@ Paradox is a package.el extension. I have no use for it now that I use straight. #+END_SRC ** winner #+BEGIN_SRC emacs-lisp - (use-package winner - :commands (winner-undo winner-redo) - :bind ("C-c q" . imalison:winner-hydra/body) - :config - (progn - (defhydra imalison:winner-hydra () - "Winner" - ("p" winner-undo "back") - ("n" winner-redo "forward" :exit t)) - (winner-mode 1))) +(use-package winner + :commands (winner-undo winner-redo) + :bind ("C-c q" . imalison:winner-hydra/body) + :config + (progn + (defhydra imalison:winner-hydra () + "Winner" + ("p" winner-undo "back") + ("n" winner-redo "forward" :exit t)) + (winner-mode 1))) #+END_SRC ** eyebrowse I don't have any use for this now that I use frames mode, but its an interesting idea. diff --git a/dotfiles/lib/shellpath.sh b/dotfiles/lib/shellpath.sh index d12a1834..f57e1e44 100644 --- a/dotfiles/lib/shellpath.sh +++ b/dotfiles/lib/shellpath.sh @@ -7,7 +7,7 @@ function _setup_env { # This is in shellenv.sh now _python_setup - add_to_path "$HOME/.local/bin" "$HOME/.lib/bin" "$HOME/bin" --before + add_to_path "$HOME/.lib/bin" "$HOME/.local/bin" "$HOME/bin" --before add_to_path "/usr/local/sbin" "/usr/local/bin" "/usr/bin" --after _ruby_setup @@ -22,6 +22,10 @@ function _setup_env { # This makes systemd aware of change to $PATH run_if_exists systemctl --user import-environment PATH DISPLAY XAUTHORITY HOME + + # To ensure that things in ~/.lib/bin take precedence + add_to_path "$HOME/.lib/bin" --before + export ENVIRONMENT_SETUP_DONE="$(date)" }