Permalink
Browse files

utility: improve rlwrap options

  • Loading branch information...
1 parent ef75462 commit 5a3f5743f13399aca52930e091f660b104a194e6 @meh meh committed Jan 22, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 utility/init.zsh
View
@@ -177,10 +177,10 @@ is-callable rlwrap && function {
local program
zdefault -a ':zoppo:plugin:utility' readline programs \
- 'nc' 'telnet' 'sbcl' 'tclsh' 'mzscheme'
+ 'nc' 'telnet' 'sbcl' 'tclsh' 'mzscheme' 'iex' 'mix'
for program ("$programs[@]")
- alias "$program"="rlwrap -c -D -r $program"
+ alias "$program"="rlwrap -a -H '$(path:cache)/$program.history' -c -D 2 -r $program"
}
# }}}

0 comments on commit 5a3f574

Please sign in to comment.