We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cd1010 commit 3366134Copy full SHA for 3366134
1 file changed
usr/bin/modeline-show
@@ -50,7 +50,7 @@ modeline_show() {
50
error_hit='false'
51
52
if (( ${#file_list[@]} == 0 )); then
53
- if ! [ -e '/proc/self/fd/0' ]; then
+ if [[ -t 0 ]]; then
54
die 1 'stdin is not open!'
55
fi
56
grep_exit_code='0'
0 commit comments