<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Jan 29, 2016 at 9:06 AM Dashamir Hoxha <<a href="mailto:dashohoxha@gmail.com">dashohoxha@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>However the history of commands does not work (getting the previous command with the arrow-up).<br></div><div>Also I don't see how to use autocompletion. Any ideas?</div></div></blockquote><div><br></div><div>If you want history and completion, "read -e" won't work for you. It only uses readline defaults with no knobs for you to set to configure it to do what you want (set a history file, do completion, etc).</div><div><br></div><div>I have no idea why you want to do this since your shell already has completion. Not sure of the win here.</div><div><br></div><div>But if you really want to do it, the tool you'll want to use in rlwrap. It's not a standard package, but it does what you want and it's not like pass and your tool don't already depend on some non-posix shell stuff already.</div><div><br></div><div>Kevin</div></div></div>