我在~/.psqlrc文件中放什么来设置默认编辑器?
我要使用的编辑器 ( Textmate ) 位于/Users/username/bin/mate.
我在文档中找到了他们谈论它的地方,并尝试了几种语法变体,但似乎无法使其正常工作。
例如,这不起作用......
\set PSQL_EDITOR "/Users/username/bin/mate"
Run Code Online (Sandbox Code Playgroud)
在 psql 中,当我输入时,\e我得到...
sh: /usr/local/bin/mate: No such file or directory
sh: line 0: exec: /usr/local/bin/mate: cannot execute: No such file or directory
Run Code Online (Sandbox Code Playgroud) postgresql ×1