From 141f6529fddef863accce4cfcf723ddd13ffba65 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 30 Sep 2013 03:23:37 +0200 Subject: increased extensibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- got | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/got b/got index b41091a..436a383 100755 --- a/got +++ b/got @@ -24,6 +24,9 @@ if [ "$1" = "-" ]; then export "$@" + login_function=_login + display_function=_display + function _login { read user @@ -56,8 +59,8 @@ if [ "$1" = "-" ]; then . "@etc@/@command@rc" fi - _display - _login + $display_function + $login_function else # cannot get any other solution to work with `login` # then to spawn a new process with pipes preset -- cgit v1.2.3-70-g09d2