[Terminal] 默认终端不支持设置使用 login shell V20.5
Tofloor
poster avatar
神经蛙
deepin
2022-05-05 08:45
Author

问题/建议描述

 默认的终端在设置中不支持使用 login shell。

问题如何重现

bash 的 profile 文件没有加载。使用 bash --login 可以使用 login shell。gnome 的终端的设置中是可以设置是否使用 login shell,但是深度自带的终端中默认的 non login shell,并且也不可以更改。 

问题重现频率

必现。

Reply Favorite View the author
All Replies
(null)
deepin
2022-05-05 20:27
#1
The user is banned, and the content is hidden.
Comments
zhangn1985
2022-05-06 01:14
看来你没看懂楼主的问题。
神经蛙
deepin
2022-05-09 01:35
#2
(null)
The user is banned, and the content is hidden.

我不是要以 root 身份运行 shell。

https://unix.stackexchange.com/a/46856

Reply View the author
神经蛙
deepin
2022-05-09 01:35
#3
It has been deleted!
神经蛙
deepin
2022-05-09 01:37
#4

我可以在 bash 中再执行 bash --login 获得 login shell,但是我希望打开 terminal 后直接使用的就是 login shell

Reply View the author
(null)
deepin
2022-05-09 23:14
#5
The user is banned, and the content is hidden.
(null)
deepin
2022-05-09 23:15
#6
The user is banned, and the content is hidden.