Enable history in iex, add configuration

This commit is contained in:
Nicole Tietz-Sokolskaya 2018-03-12 12:01:41 -04:00
parent 3c7976adf2
commit f377ae99a5
5 changed files with 9 additions and 0 deletions

3
.gitmodules vendored
View file

@ -40,3 +40,6 @@
[submodule "vim/.vim/bundle/vim-gitgutter"]
path = vim/.vim/bundle/vim-gitgutter
url = https://github.com/airblade/vim-gitgutter
[submodule "vim/.vim/bundle/elm-vim"]
path = vim/.vim/bundle/elm-vim
url = https://github.com/ElmCast/elm-vim

View file

@ -66,5 +66,7 @@ source $HOME/.asdf/completions/asdf.bash
source $HOME/.install/google-cloud-sdk/completion.bash.inc
source $HOME/.install/google-cloud-sdk/path.bash.inc
alias iex="iex --erl \"-kernel shell_history enabled\""
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion

View file

@ -4,6 +4,7 @@ stow -t ~ bash
stow -t ~ screen
stow -t ~ vim
stow -t ~ slate
stow -t ~ iex
#rm -f .screenrc
#ln -s ~/Code/config/screenrc .screenrc

2
iex/.iex.exs Normal file
View file

@ -0,0 +1,2 @@
IEx.configure(inspect: [limit: 10, pretty: true], history_size: 10_000)
IO.puts "History is enabled, inspect is configured."

@ -0,0 +1 @@
Subproject commit ae5315396cd0f3958750f10a5f3ad9d34d33f40d