未在Mac上设置TERM环境变量 [英] TERM environment variable not set on mac

查看:334
本文介绍了未在Mac上设置TERM环境变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在获取未设置TERM环境变量".在Mac终端上使用svn命令时出现错误.

I keep on getting the "TERM environment variable not set." error when I work with svn commands on my Mac terminal.

我认为我是通过以下方式设置自己的个人资料的:

I thought I had set up my profile by doing:

export SVN_EDITOR=/usr/bin/nano
export EDITOR=/usr/bin/nano

.profile和.bash_profile中的,重置终端,它仍然给我该错误.

in .profile and .bash_profile, reset the terminal and it still gives me that error.

有帮助吗?

推荐答案

将此添加到您的个人资料:

Add this to your profile:

export TERM=xterm-color

这篇关于未在Mac上设置TERM环境变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆