Skip to content

Commit bf685ce

Browse files
committed
also check /man for manpages
1 parent 42e7a6e commit bf685ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks/useShellEnv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function suffixes(key: EnvKey) {
122122
case 'PATH':
123123
return ["bin", "sbin"]
124124
case 'MANPATH':
125-
return ["share/man"]
125+
return ["man", "share/man"]
126126
case 'PKG_CONFIG_PATH':
127127
return ['share/pkgconfig', 'lib/pkgconfig']
128128
case 'XDG_DATA_DIRS':

0 commit comments

Comments
 (0)