From 801dd7bda03b54584f3606de15b0897c77e787af Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Sat, 9 Mar 2019 21:07:14 -0500 Subject: [PATCH] Add hump function for launching OCaml REPL with ledit --- lib/login_functions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/login_functions.sh b/lib/login_functions.sh index c67de2e..bb15846 100644 --- a/lib/login_functions.sh +++ b/lib/login_functions.sh @@ -36,3 +36,7 @@ man() { experiment() { cd "$($HOME/bin/experiment $@)" } + +hump() { + ledit -l $(stty size | awk '{print $2}') ocaml $@ +} -- 2.20.1