From: Siraaj Khandkar Date: Sun, 10 Mar 2019 02:07:14 +0000 (-0500) Subject: Add hump function for launching OCaml REPL with ledit X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=801dd7bda03b54584f3606de15b0897c77e787af;hp=64ec9f23047545432f759e543184b4271e3aad22;p=khome.git Add hump function for launching OCaml REPL with ledit --- 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 $@ +}