Skip to main content
6 votes

Package `exec-path-from-shell` isn't setting PATH variables from `.zshenv` on MacOS

You should remove :defer f, because you don't want exec-path-from-shell to be defer loaded and you are going to use function from it when Emacs starts. Try something like the following (use-package ...
xuchunyang's user avatar
  • 14.6k
4 votes
Accepted

Displaying a second buffer with a shell?

Is it correct to assume that you're new to Emacs? If yes, are you aware of how Emacs manages windows and that the term 'window' does not refer to what you think it does? The concepts 'windows' and '...
Stefan Kamphausen's user avatar
3 votes

sh-script-mode: get [[ ... ]] pair expansion to automatically include whitespace?

You could try smartparens. With the settings below: Pressing [ SPC becomes [ | ] Pressing [ [ SPC becomes [[ | ]] Selecting foo and pressing [ becomes [ foo ] Pressing [ a second time becomes [[ foo ]...
jagrg's user avatar
  • 3,954
2 votes
Accepted

Open file in existing GUI Emacs from shell

Answering my own question; I had a server running that I was not aware of. brew services list After stopping it with brew services stop emacs-plus or brew services stop emacs, I was able to ...
styts's user avatar
  • 121
1 vote

Displaying a second buffer with a shell?

Absolutely. Turn on shell-script-mode/sh-mode in the scriptfile buffer, perhaps switch to zsh with C-c : for sh-set-shell (could change the first line of your script), and maybe mark some lines and ...
p_wiersig's user avatar
  • 1,096
1 vote

sh-zsh not catching any errors

It's not a syntax error. You're trying to run a program named ech (which is a perfectly valid thing to do), and the code linter can't possibly know whether or not ech will be installed on whichever ...
phils's user avatar
  • 51.8k
1 vote
Accepted

Executable image-dired-cmd-create-thumbnail-program not found on Darwin, macOS

This is usually caused by GUI apps on macOS only inherit the default minimal environment variables. You can check this by run M-: (getenv "PATH") and M-: (executable-find image-dired-cmd-...
Tianshu Wang's user avatar
  • 1,784
1 vote

Run latexmk inside z shell instead of shell

I don't think it has anything to do with zsh vs sh. I believe it has to do with subprocessess of emacs not having the path required to find the biber executable, whereas interactive shells apparently ...
NickD's user avatar
  • 31.3k
1 vote
Accepted

Indentation of one-line zsh for loops

If sh-use-smie is set to t the Simple Minded Indentation Engine (SMIE) is used for indentation. As you experience, the sh-mode setup for SMIE does not cover all the alternate complex commands of zsh ...
Tobias's user avatar
  • 33.4k
1 vote
Accepted

Emacs incompatible with oh-my-zsh?

I found the problem. As I mentioned in the ticket, I was setting the variable EMACS myself in .zshenv to help setup PATH. As it happens termsupport.zsh also uses this variable name internally. All I ...
Amelio Vazquez-Reina's user avatar
1 vote
Accepted

emacs theme changes when i moved to zsh from bash

Are $TERM environment variables same value ? If its value is different from each other. It causes different looking.
syohex's user avatar
  • 456

Only top scored, non community-wiki answers of a minimum length are eligible