Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
执行 source ~/.bashrc 报错
Experiences and Insight
2679
views ·
1
replies ·
To
floor
Go
dasheng523
deepin
2015-05-22 07:22
Author
今天刚装的系统,下载好JAVA之后,我就用VIM在~/.bashrc的文件后面追加了PATH相关的配置后,我退出VIM,执行 source ~/.bashrc 报错了。
/home/yesheng/.bashrc:16: command not found: shopt
/home/yesheng/.bashrc:24: command not found: shopt
/home/yesheng/.bashrc:108: command not found: shopt
/usr/share/bash-completion/bash_completion:35: parse error near `]]'
Copy the Code
Reply
Like 0
Favorite
View the author
All Replies
MattD
deepin
2015-05-22 07:57
#1
回答过很多次了,shopt是bash内建命令,而深度默认采用zsh作为shell。
想更改shell就用chsh命令改一下。
Reply
Like 0
View the author
Please
sign
in first
New Thread
Popular Events
More