.bashrc脚本里面好像有错误,不知道大家有没遇到过
Tofloor
poster avatar
tlic031
deepin
2015-10-13 02:47
Author
大家好,我刚给电脑装好deepin后,配置了oraclejdk在source .bashrc的时候发现了如下报错

  1. ➜  ~  source .bashrc
  2. .bashrc:16: command not found: shopt
  3. .bashrc:24: command not found: shopt
  4. .bashrc:108: command not found: shopt
  5. /usr/share/bash-completion/bash_completion:35: parse error near `]]'
  6. \[\e]0;\u@\h: \w\a\]\u@\h:\w$
Copy the Code


之前在别的机器上装没有发现过这个问题,请问大家有遇到过的么,怎么解决?

或者有没有人能给我提供一个干净的.bashrc我对比下
Reply Favorite View the author
All Replies
136******54
deepin
2015-10-13 03:04
#1
Deepin2014默认zsh,所以这些东西要放在 ~/.zshrc里
Reply View the author
tlic031
deepin
2015-10-13 04:01
#2
多谢,因为自己一直用archlinux习惯了,好久之前给同事装的估计不记得了,我试试看
Reply View the author
tlic031
deepin
2015-10-13 04:09
#3
问题果然解决,再次感谢
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG