0
对BASH进行了一些界面更改,我想撤消并将BASH更改为默认设置。如何将BASH恢复为其默认设置
In the ~/.bash_profile file
PROMPT_COLOR='\e[00m\e[38;05;166m'
export PS1='\['$PROMPT_COLOR'\][\h]: \w\$\[\e[0m\] '
export EDITOR='subl -w'
上面是我进入
感谢
对BASH进行了一些界面更改,我想撤消并将BASH更改为默认设置。如何将BASH恢复为其默认设置
In the ~/.bash_profile file
PROMPT_COLOR='\e[00m\e[38;05;166m'
export PS1='\['$PROMPT_COLOR'\][\h]: \w\$\[\e[0m\] '
export EDITOR='subl -w'
上面是我进入
感谢
您是否尝试删除'.bash_profile'中的行? – ebo
你想使用'.bash_profile'文件中的变量还是全局设置? (即来自例如'/ etc/skel/.bash_profile'的默认值)? –
删除文件。登出。再次登录。 – rghome