终结者未加载 .bashrc 或 .vimrc

Terminator not loading .bashrc or .vimrc

我使用以下命令安装了 Terminator

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

它似乎没有加载 .bashrc 文件。当我在终结器中打开 Vim 时,它甚至没有加载 .vimrc 文件。 我什至无法更改 Preferences->Profile->Colors.

但在 gnome-terminal 中一切正常。

右击终结符 window 和 select preferences。 在 profiles 选项卡上,勾选 Run command as login shell。 这将使终结器能够在启动时读取 rc 文件。