[software development] 终端始终提示 bash[:缺少']'
Tofloor
poster avatar
轮子
deepin
2024-04-10 12:57
Author

image.png

Reply Favorite View the author
All Replies
wlly-lzh
deepin
2024-04-10 13:04
#1

你是不是改什么文件了?

Reply View the author
f@deepin
deepin
2024-04-10 13:09
#2

检查一下 ~/.bashrc

Reply View the author
dxy2020
deepin
2024-04-10 13:33
#3

应该是写了什么配置类似.bashrc,然后每次bash运行时执行了脚本,里面缺少[],或者少了空格

Reply View the author
轮子
deepin
2024-04-10 15:35
#4
f@deepin

检查一下 ~/.bashrc

安装nvm,编辑了 bashrc

现在安装nvm,打开新的终端,就找不到nvm命令 咋回事啊

Reply View the author
轮子
deepin
2024-04-10 15:35
#5
dxy2020

应该是写了什么配置类似.bashrc,然后每次bash运行时执行了脚本,里面缺少[],或者少了空格

是的,安装nvm编辑了文件。有安装nvm的教程么

Reply View the author
sweetyfish
deepin
2024-04-10 16:35
#6

发一下你的 bashrc?

Reply View the author