This website requires JavaScript.
Explore
Help
Sign in
daylin
/
dotfiles
Watch
1
Star
0
Fork
You've already forked dotfiles
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
8769161d42
dotfiles
/
bin
/
is-tty
10 lines
74 B
Text
Raw
Normal View
History
Unescape
Escape
check for tty
2022-05-18 00:21:46 -05:00
#!/bin/sh
case $(tty) in /dev/tty[0-9]*)
add shell linting/make
2022-07-06 11:55:14 -05:00
exit 0
;;
*)
exit 1
;;
check for tty
2022-05-18 00:21:46 -05:00
esac
Reference in a new issue
Copy permalink