在 CentOS 7 上通过 linuxbrew 安装了 emacs。从终端运行“emacs”后,我收到此错误消息:
User xxx has no home directory
有谁知道怎么解决吗?
最佳答案
我在 Red Hat 7.6 上遇到了同样的问题。这似乎是由 expand-file-name
错误地扩展 ~USER
语法引起的。
如上所述here ,解决方案是使用 --user ''
启动 emacs,它应该扩展到正确的主目录。
关于linux - 通过 linuxbrew 安装 Emacs 时出现 "User xxx has no home directory"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42559132/