From 8855544ded5a6406b7ad3cb837ec22adc91f55ae Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 18 Jun 2009 01:17:01 +0200 Subject: key X kills ranger and starts a shell --- code/fm/keys.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0