From ee03818536ca008bdf47eeec04f004c305b96e1e Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 15 Aug 2012 11:52:05 +0900 Subject: [PATCH] add func input --- bashrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bashrc b/bashrc index 6d28778..2ec19d8 100755 --- a/bashrc +++ b/bashrc @@ -183,6 +183,15 @@ then || complete -o default -o nospace -F _git g fi +input(){ + ( + stty -echo + read foo + stty echo + echo $foo + ) +} + tmux(){ if test $# -eq 0 then