问一下更改/删除环境变量和alias的问题
Tofloor
poster avatar
xliang9550
deepin
2014-08-05 22:57
Author
假设我在.bashrc中定义了一些环境变量,如果需要更改,是否保存之后直接在终端中再次运行一下source ~/.bashrc就可以了呢?如果想要删除不再需要的环境变量或者alias是否也可以?

举个例子,我在MATE桌面环境的发行版中给pluma起了个alias,名叫gedit,现在想要删除。
Reply Favorite View the author
All Replies
136******54
deepin
2014-08-05 23:05
#1
是的,在.bashrc中删除然后 source ~/.bashrc 就行了
Reply View the author