add pryrc
This commit is contained in:
parent
0f4eb3be78
commit
971d9b12f9
@ -30,6 +30,7 @@ rm -rf ~/.zshenv
|
|||||||
rm -rf ~/.zshrc
|
rm -rf ~/.zshrc
|
||||||
rm -rf ~/.tmux
|
rm -rf ~/.tmux
|
||||||
rm -rf ~/.tmux.conf
|
rm -rf ~/.tmux.conf
|
||||||
|
rm -rf ~/.pryrc
|
||||||
|
|
||||||
# set Symlinks to configs
|
# set Symlinks to configs
|
||||||
ln -s $(pwd)/bash_aliases ~/.bash_aliases
|
ln -s $(pwd)/bash_aliases ~/.bash_aliases
|
||||||
@ -46,6 +47,7 @@ ln -s $(pwd)/zprofile.local ~/.zprofile.local
|
|||||||
ln -s $(pwd)/zpreztorc ~/.zpreztorc
|
ln -s $(pwd)/zpreztorc ~/.zpreztorc
|
||||||
ln -s $(pwd)/tmux ~/.tmux
|
ln -s $(pwd)/tmux ~/.tmux
|
||||||
ln -s $(pwd)/tmux.conf ~/.tmux.conf
|
ln -s $(pwd)/tmux.conf ~/.tmux.conf
|
||||||
|
ln -s $(pwd)/pryrc ~/.pryrc
|
||||||
|
|
||||||
ln -s $HOME/.zprezto/runcoms/zlogin ~/.zlogin
|
ln -s $HOME/.zprezto/runcoms/zlogin ~/.zlogin
|
||||||
ln -s $HOME/.zprezto/runcoms/zlogout ~/.zlogout
|
ln -s $HOME/.zprezto/runcoms/zlogout ~/.zlogout
|
||||||
|
10
pryrc
Normal file
10
pryrc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
if defined?(PryByebug)
|
||||||
|
Pry.commands.alias_command 'c', 'continue'
|
||||||
|
Pry.commands.alias_command 's', 'step'
|
||||||
|
Pry.commands.alias_command 'n', 'next'
|
||||||
|
Pry.commands.alias_command 'f', 'finish'
|
||||||
|
end
|
||||||
|
# Hit Enter to repeat last command
|
||||||
|
Pry::Commands.command /^$/, "repeat last command" do
|
||||||
|
_pry_.run_command Pry.history.to_a.last
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user