Bash Ubuntu-当我键入命令时终端关闭?
Bash Ubuntu-当我键入命令时终端关闭?,bash,shell,rake,bundler,gnome-terminal,Bash,Shell,Rake,Bundler,Gnome Terminal,export PS1=“\e[48;5;88m\e[38;5;15m\e[K\e[1m\t\e[38;5;82m\u\e[38;5;15m\e[38;5;82m\h\e[38;5;15m]在:\W[\e[38;5;82m\$\e[38;5;15m]\e[0m\n” 在.bashrc中设置此变量后,exercytime I typeexec bundle rake db:migrate 我不知道颜色命令有什么问题 我使用GNOME Terminal 3.18.3。您的命令exec bundle…应
export PS1=“\e[48;5;88m\e[38;5;15m\e[K\e[1m\t\e[38;5;82m\u\e[38;5;15m\e[38;5;82m\h\e[38;5;15m]在:\W[\e[38;5;82m\$\e[38;5;15m]\e[0m\n”
在.bashrc中设置此变量后,exercytime I typeexec bundle rake db:migrate
我不知道颜色命令有什么问题
我使用GNOME Terminal 3.18.3。您的命令
exec bundle…
应该是bundle exec…
。运行exec
命令将用继续执行的命令替换shell进程