Why doesn't my vim know my alias?

前端 未结 3 1358
后悔当初
后悔当初 2021-01-05 04:11

I have used \"alias ruby=ruby1.9.1\", so I can execute my ruby with this:

ruby 123.rb

or

ruby1.9.1 123.rb

3条回答
  •  走了就别回头了
    2021-01-05 04:54

    You can try

    :set shellcmdflag+=i
    

    to call bass as "interactive" although that does give an annoying message for every shell command executed.

提交回复
热议问题