每次我打开一个终端时,它都会以这个开头。
export PATH="/home/name/.rbenv/shims:${PATH}"
export RBENV_SHELL=bash
source '/home/name/.rbenv/libexec/../completions/rbenv.bash'
command rbenv rehash 2>/dev/null
rbenv() {
local command
command="${1:-}"
if [ "$#" -gt 0 ]; then
shift
fi
case "$command" in
rehash|shell)
eval "$(rbenv "sh-$command" "$@")";;
*)
command rbenv "$command" "$@";;
esac
}
export PATH="/home/name/.rbenv/shims:${PATH}"
export RBENV_SHELL=bash
source '/home/name/.rbenv/libexec/../completions/rbenv.bash'
command rbenv rehash 2>/dev/null
rbenv() {
local command
command="${1:-}"
if [ "$#" -gt 0 ]; then
shift
fi
case "$command" in
rehash|shell)
eval "$(rbenv "sh-$command" "$@")";;
*)
command rbenv "$command" "$@";;
esac
}
name@Laptop:~$
我不知道它是错误消息还是只是来自某个文件的一些回声,并且想知道它为什么会回显它。