diff options
author | hut <hut@lavabit.com> | 2009-06-18 01:17:01 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-06-18 01:17:01 +0200 |
commit | 8855544ded5a6406b7ad3cb837ec22adc91f55ae (patch) | |
tree | f72f9a436f9bbb2a25fb23c4e2ebf3aa08b43be2 | |
parent | e07a7764f57ba94b8ab29731981399496ee66c24 (diff) | |
download | ranger-8855544ded5a6406b7ad3cb837ec22adc91f55ae.tar.gz |
key X kills ranger and starts a shell
-rw-r--r-- | code/fm/keys.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/code/fm/keys.rb b/code/fm/keys.rb index cffb7b2b..1b1d4fd6 100644 --- a/code/fm/keys.rb +++ b/code/fm/keys.rb @@ -174,7 +174,11 @@ module Fm @bars.first.kill unless @bars.empty? when 'X' - @bars.last.kill unless @bars.empty? +# @bars.last.kill unless @bars.empty? + + closei + exec(ENV['SHELL']) + exit when 'J' @pwd.pos += lines/2 |