We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f0a22b commit 8e49a04Copy full SHA for 8e49a04
server/src/util/sh.ts
@@ -53,7 +53,7 @@ const WORDS_WITHOUT_DOCUMENTATION = new Set([
53
])
54
55
/**
56
- * Get documentation for the given word by usingZZ help and man.
+ * Get documentation for the given word by using help and man.
57
*/
58
export async function getShellDocumentationWithoutCache({
59
word,
@@ -73,7 +73,7 @@ export async function getShellDocumentationWithoutCache({
73
// We have experimented with setting MANWIDTH to different values for reformatting.
74
// The default line width of the terminal works fine for hover, but could be better
75
// for completions.
76
- { type: 'man', command: `man ${word} | col -bx` },
+ { type: 'man', command: `man -P cat ${word} | col -bx` },
77
]
78
79
for (const { type, command } of DOCUMENTATION_COMMANDS) {
0 commit comments