查了一下,ssh login 之后, 会执行 .bash_profile

于是新建一个.bash_profile , 内容如下

if [ -f ~/.bashrc ]; then
  . ~/.bashrc
fi

 

相关文章:

  • 2021-11-09
  • 2021-09-01
  • 2022-12-23
  • 2021-07-19
  • 2021-08-08
  • 2021-04-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-18
  • 2022-12-23
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2021-08-29
  • 2022-12-23
相关资源
相似解决方案