Skip to content

Instantly share code, notes, and snippets.

@grahamperrin
Last active March 7, 2026 07:24
Show Gist options
  • Select an option

  • Save grahamperrin/be1bc6ac40bfef0693b0ab5cef050f3e to your computer and use it in GitHub Desktop.

Select an option

Save grahamperrin/be1bc6ac40bfef0693b0ab5cef050f3e to your computer and use it in GitHub Desktop.
FreeBSD: preferring ee (avoiding vi) for csh/tcsh and sh

FreeBSD: preferring ee (avoiding vi) for csh/tcsh and sh

Final changes when exiting FreeBSD Installer

Install ee (easy editor) and nano

FreeBSD 14:

pkg install --yes nano

FreeBSD 15 or 16 with pkgbase:

pkg install -y base/FreeBSD-ee editors/nano
  • ee(1) is no longer a feature of the minimal system.

/etc/csh.cshrc

setenv EDITOR ee

/etc/profile

export EDITOR=ee

/root/.cshrc

Remove the EDITOR line.

/usr/share/skel/dot.cshrc

Remove the EDITOR line.

/usr/share/skel/dot.profile

Remove the EDITOR line.

For any user that was added before the two dot files were edited

~/.cshrc

Remove the EDITOR line.

~/.profile

Remove the EDITOR line.

@grahamperrin

grahamperrin commented Jul 23, 2025 •

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment