Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
.bashrc脚本里面好像有错误,不知道大家有没遇到过
Experiences and Insight
2242
views ·
3
replies ·
To
floor
Go
tlic031
deepin
2015-10-13 02:47
Author
大家好,我刚给电脑装好deepin后,配置了oraclejdk在source .bashrc的时候发现了如下报错
➜ ~ source .bashrc
.bashrc:16: command not found: shopt
.bashrc:24: command not found: shopt
.bashrc:108: command not found: shopt
/usr/share/bash-completion/bash_completion:35: parse error near `]]'
\[\e]0;\u@\h: \w\a\]\u@\h:\w$
Copy the Code
之前在别的机器上装没有发现过这个问题,请问大家有遇到过的么,怎么解决?
或者有没有人能给我提供一个干净的.bashrc我对比下
Reply
Like 0
Favorite
View the author
All Replies
136******54
deepin
2015-10-13 03:04
#1
Deepin2014默认zsh,所以这些东西要放在 ~/.zshrc里
Reply
Like 0
View the author
tlic031
deepin
2015-10-13 04:01
#2
多谢,因为自己一直用archlinux习惯了,好久之前给同事装的估计不记得了,我试试看
Reply
Like 0
View the author
tlic031
deepin
2015-10-13 04:09
#3
问题果然解决,再次感谢
Reply
Like 0
View the author
Please
sign
in first
New Thread
Popular Events
More
之前在别的机器上装没有发现过这个问题,请问大家有遇到过的么,怎么解决?
或者有没有人能给我提供一个干净的.bashrc我对比下