Enable history in iex, add configuration
This commit is contained in:
parent
3c7976adf2
commit
f377ae99a5
5 changed files with 9 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -40,3 +40,6 @@
|
||||||
[submodule "vim/.vim/bundle/vim-gitgutter"]
|
[submodule "vim/.vim/bundle/vim-gitgutter"]
|
||||||
path = vim/.vim/bundle/vim-gitgutter
|
path = vim/.vim/bundle/vim-gitgutter
|
||||||
url = https://github.com/airblade/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
|
||||||
|
|
|
@ -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/completion.bash.inc
|
||||||
source $HOME/.install/google-cloud-sdk/path.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
|
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ stow -t ~ bash
|
||||||
stow -t ~ screen
|
stow -t ~ screen
|
||||||
stow -t ~ vim
|
stow -t ~ vim
|
||||||
stow -t ~ slate
|
stow -t ~ slate
|
||||||
|
stow -t ~ iex
|
||||||
|
|
||||||
#rm -f .screenrc
|
#rm -f .screenrc
|
||||||
#ln -s ~/Code/config/screenrc .screenrc
|
#ln -s ~/Code/config/screenrc .screenrc
|
||||||
|
|
2
iex/.iex.exs
Normal file
2
iex/.iex.exs
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
IEx.configure(inspect: [limit: 10, pretty: true], history_size: 10_000)
|
||||||
|
IO.puts "History is enabled, inspect is configured."
|
1
vim/.vim/bundle/elm-vim
Submodule
1
vim/.vim/bundle/elm-vim
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit ae5315396cd0f3958750f10a5f3ad9d34d33f40d
|
Loading…
Reference in a new issue