Create a basic .bashrc file [closed]

ぐ巨炮叔叔 提交于 2019-12-02 15:44:44

问题


I don't have .bashrc file, I want to create one but how? And what does a basic .bashrc file contains? I am on Linux Mint 12

I want to have a .bashrc file, because i have created a folder for virtualenv and I want to load virtualenvwrapper


回答1:


A .bashrc file contains whatever default settings you want to use when you are using bash. If you don't have any particular preferences then leave it blank for now.

Typical contents of a .bashrc file includes aliases of commands you find yourself using a lot.




回答2:


Why do you want one if you don't know what to put in there? You only need a .bashrc (or .profile or .bash_profile) if you actually have something you want to execute in every shell (or login shell).

But you can basically put any bash commands in those files.



来源:https://stackoverflow.com/questions/9349108/create-a-basic-bashrc-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!