How can I get rid of something running on every new terminal session?

后端 未结 7 2069
别跟我提以往
别跟我提以往 2021-02-10 02:27

I am using Lion. I have an error that outputs on every new terminal session:

-bash: __rvm_add_to_path: command not found

It\'s an almost brand

7条回答
  •  天涯浪人
    2021-02-10 02:57

    For the account that had a working profile, I had the following .rvmrc:

    root@sc-27617:~# cat .rvmrc 
    export rvm_prefix="/usr/local/lib/sc"
    export rvm_path="/usr/local/lib/sc/rvm"
    

    To get the error to go away for my other accounts, I simply copied this file to the other accounts and fixed the permissions (chown johndoe:johndoe /home/johndoe/.rvmrc)...

提交回复
热议问题