Herd ignores ZDOTDIR and writes its shell configuration to ~/.zshrc

hey all!

I’ve noticed that Laravel Herd doesn’t appear to respect Zsh’s ZDOTDIR setting on macOS.

My ~/.zshenv contains:

export ZDOTDIR="$HOME/.config/zsh"

Therefore, my active Zsh configuration is located at:

~/.config/zsh/.zshrc

However, Herd adds its configuration to:

~/.zshrc

This includes entries such as:

# Herd injected NVM configuration
export NVM_DIR="$HOME/Library/Application Support/Herd/config/nvm"

# Herd injected PHP binary
export PATH="$HOME/Library/Application Support/Herd/bin/":$PATH

Because ZDOTDIR is set, Zsh doesn’t read ~/.zshrc, so Herd’s injected configuration has no effect. I have to copy the relevant PHP and PATH settings into my active $ZDOTDIR/.zshrc manually.

Herd’s bundled uninstall script also appears to target $HOME/.zshrc directly rather than resolving `$ZDOTDIR`.

Environment:

Herd 1.29.0
macOS 26.5.2
Zsh 5.9

Has anyone else encountered this? Is there a supported workaround besides manually maintaining the Herd configuration inside $ZDOTDIR/.zshrc?

It would be helpful if Herd detected ZDOTDIR before modifying .zshrc, while continuing to use ~/.zshrc when the variable is unset.

reddit.com
u/aegis87 — 11 days ago

there is no way to disable highlight notifications from groups you follow

complete malware vibes

> To disable notifications from a Facebook group, go to the specific group, tap the group's name or settings icon, and select Off under notification settings.
> You must change this setting individually for each group you follow.

reddit.com
u/aegis87 — 19 days ago

Mathematica 9 - kernel gets stuck on Windows 11

I have an older version of Mathematica from my university days. I only need it for basic tasks, so I’d prefer not to buy a new license.

My issue is that on Windows 11, the kernel frequently hangs or gets stuck indefinitely—even on simple calculations like 1 + 1.

So far, I’ve tried:

  • Enabling Windows compatibility modes (no effect)
  • Disabling "Allow Mathematica to access the Internet" in Preferences

Has anyone run into this issue on Windows 11 and found a workaround or fix?

Any ideas of things i could try, even if you don't know if they ll work?

reddit.com
u/aegis87 — 1 month ago

Are there any trackers where one can find classical concerts from stage-plus[dot]com ?

what the title says.
I was wondering if there are any trackers where you can find stage-plus concerts?

reddit.com
u/aegis87 — 1 month ago
▲ 8 r/neovim

Fuzzy change directory within Neovim (FZF Alt+C style)

Hey everyone,

I recently had to shift from terminal Neovim to Neovide (gui neovim), and the biggest thing I missed was using Alt+C [1] to fuzzy change directories via FZF.

To fix this, I wrote a quick snippet to be able to fuzzy cd within neovim/neovide. Here it is, in case someone else finds it useful:

-- FZFCd
--
-- Fuzzy-find a directory (recursively, from any given start point) and
-- cd into it, using fd + fzf - works with just the fzf and fd binaries on $PATH).

-- :FZFCd → searches directories from .
-- :FZFCd! → searches from ~
-- :FZFCd path/to/dir → searches from the given path (bang ignored if args given)

vim.api.nvim_create_user_command('FZFCd', function(opts)
  local dir = opts.args ~= '' and opts.args or (opts.bang and vim.fn.expand('~') or '.')
  local tmpfile = vim.fn.tempname()

  local buf = vim.api.nvim_create_buf(false, true)
  local width = math.floor(vim.o.columns * 0.5)
  local height = math.floor(vim.o.lines * 0.5)
  local win = vim.api.nvim_open_win(buf, true, {
    relative = 'editor',
    width = width,
    height = height,
    row = math.floor((vim.o.lines - height) / 2),
    col = math.floor((vim.o.columns - width) / 2),
    style = 'minimal',
    border = 'rounded',
  })

  local cmd = string.format(
    "fd --type d --hidden --exclude .git . %s | fzf > %s",
    vim.fn.shellescape(dir),
    vim.fn.shellescape(tmpfile)
  )

  vim.fn.jobstart(cmd, {
    term = true,
    on_exit = function()
      if vim.api.nvim_win_is_valid(win) then
        vim.api.nvim_win_close(win, true)
      end
      local lines = vim.fn.readfile(tmpfile)
      vim.fn.delete(tmpfile)
      if lines[1] and lines[1] ~= '' then
        vim.cmd('cd ' .. vim.fn.fnameescape(lines[1]))
        print('cd: ' .. lines[1])
      end
    end,
  })
  vim.cmd('startinsert')
end, {
  bang = true,
  bar = true,
  nargs = '?',
  complete = 'dir',
})

vim.keymap.set('n', '<leader>cd', '<cmd>FZFCd<cr>', { desc = 'Fuzzy cd' })

[1] https://junegunn.github.io/fzf/shell-integration/

reddit.com
u/aegis87 — 1 month ago
▲ 27 r/neovim

How do you handle movement ($ / j / k) in Markdown files when text wraps?

Hi all,

Using the following definitions:

  • Screen lines: What you see on your screen when a long line wraps.
  • Logical lines: The actual line number in the file.

Nowadays, I am finding myself editing more and more Markdown files (mostly due to Obsidian and LLMs). In practice, this translates to having files where screen lines are meaningfully different than logical lines.

This makes moving within a file confusing. For example, pressing $ or <End> takes you to the end of the logical line, not the screen line you are looking at. The same issue pops up with relative movements (e.g., 5j).

I was wondering, how do you handle this?

Do you maintain buffer-local mappings (like gj/gk/g$) just for Markdown, do you use global mappings, or do you handle it some other way entirely?

And if you do use the g mappings, how do you deal with the drawbacks (like 5j reverting to logical lines, or relative line numbers not matching)?

fwiw these are the mappings i am considering:

-- Move by visual lines instead of logical lines
vim.keymap.set('n', 'j', 'gj', { noremap = true, silent = true })
vim.keymap.set('n', 'k', 'gk', { noremap = true, silent = true })
vim.keymap.set('n', '0', 'g0', { noremap = true, silent = true })
vim.keymap.set('n', '$', 'g$', { noremap = true, silent = true })

-- For the actual Home and End keys
vim.keymap.set('n', '<Home>', 'g0', { noremap = true, silent = true })
vim.keymap.set('n', '<End>', 'g$', { noremap = true, silent = true })
reddit.com
u/aegis87 — 2 months ago
▲ 5 r/neovim

How do you configure mini.tabline highlights to distinguish active vs. unsaved (modified) buffers?

Hey everyone,

I'm currently using mini.tabline from mini.nvim. I'm trying to tweak my colorscheme/highlights so that it's visually obvious when a buffer is active/current versus when it simply has unsaved changes.

here is how it looks right now with the default theme and wez term:

https://preview.redd.it/eonb514q2n7h1.png?width=571&format=png&auto=webp&s=4b20ec060c485b69e2fd14f140fc970d23db0971

i understand, that there are some available groups per the documentation:
https://github.com/nvim-mini/mini.tabline/blob/main/doc/mini-tabline.txt

but given how i switch frequently colorschemes, how do i set them up?

I'd love to see how you guys handle the highlight groups or integrate them dynamically with your active colorschemes.

reddit.com
u/aegis87 — 2 months ago
▲ 3 r/emacs

multiple-cursors fake cursors look like blocks instead of bar cursors

hey All!

I’m using multiple-cursors in GUI Emacs on Windows, and my normal cursor is a vertical bar:

(setq-default cursor-type 'bar)

But the fake cursors created by multiple-cursors render like heavy rectangular/block cursors, not like my normal bar cursor.

My package config is currently:

(use-package multiple-cursors
  :bind (("C-d" . mc/mark-next-like-this)
         ("C-S-d" . mc/mark-all-like-this)
         ("C-c C-d" . mc/mark-previous-like-this)
         ("C-<mouse-1>" . mc/add-cursor-on-click)))

Is there a supported way to make multiple-cursors fake cursors render as thin vertical bars in GUI Emacs?

Or is this a known limitation of how the package draws fake cursors?

Any working config snippets would be appreciated.

OS => Windows 11
Emacs => GUI GNU Emacs 30.2
cursor-type => bar
multiple-cursors version => 1.5.0
reddit.com
u/aegis87 — 2 months ago
▲ 1 r/rode

hi all, I was wondering if one can mount the Rode XDM-100 without the shock mount.
i want to pair it with a rode ds2 but i dont like the huge shock mount.

reddit.com
u/aegis87 — 4 months ago