From a0e482337c3befaff52ef26e5ad56705fb136531 Mon Sep 17 00:00:00 2001 From: dmahacker Date: Sat, 30 Mar 2024 11:04:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0ai=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/aichat/roles.yaml | 2 ++ .rc.sh | 1 + 2 files changed, 3 insertions(+) create mode 100644 .config/aichat/roles.yaml diff --git a/.config/aichat/roles.yaml b/.config/aichat/roles.yaml new file mode 100644 index 0000000..8eadaaa --- /dev/null +++ b/.config/aichat/roles.yaml @@ -0,0 +1,2 @@ +- name: translate + prompt: 下面我让你来充当翻译家,你的目标是把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。 diff --git a/.rc.sh b/.rc.sh index 4937e31..4fab68a 100644 --- a/.rc.sh +++ b/.rc.sh @@ -14,6 +14,7 @@ alias w='cd /var/www/html' alias p='cd `project_folder`' alias d='docker' alias a='aichat' +alias at='aichat -r translate' # copilot alias '??'='gh copilot suggest'