1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-14 17:39:03 -08:00
rc/sh/pause

6 lines
140 B
Text
Raw Normal View History

2013-06-28 05:22:14 -07:00
#!/usr/bin/env bash
[ -n "${ZSH_VERSION:-}" ] \
&& read -sk '?Press any key to continue
' || read -n1 -u 1 -sp 'Press any key to continue
'