神经蛙
deepin
2022-05-09 01:35 (null):
The user is banned, and the content is hidden.
我不是要以 root 身份运行 shell。
https://unix.stackexchange.com/a/46856
Reply Like 0 View the author
我不是要以 root 身份运行 shell。
https://unix.stackexchange.com/a/46856
我可以在 bash 中再执行 bash --login 获得 login shell,但是我希望打开 terminal 后直接使用的就是 login shell
Popular Ranking
ChangePopular Events
More
问题/建议描述
默认的终端在设置中不支持使用 login shell。
问题如何重现
bash 的 profile 文件没有加载。使用 bash --login 可以使用 login shell。gnome 的终端的设置中是可以设置是否使用 login shell,但是深度自带的终端中默认的 non login shell,并且也不可以更改。
问题重现频率
必现。