From 513358bcf66ad923848ccc1201d1bc04745b351f Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 20 Jul 2009 23:53:09 +0200 Subject: refresh after chmod/chown --- code/keys.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/keys.rb b/code/keys.rb index 2ffa9804..a6a68455 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -45,6 +45,7 @@ module Fm @buffer.clear chmod = FileUtils.method( $1.empty? ? :chmod : :chmod_R ) chmod.call( $2.to_i( 8 ), *selection.map{|x| x.path} ) rescue lograise + @pwd.refresh! when /^cm(r?)(.{9})$/ @buffer.clear @@ -60,6 +61,7 @@ module Fm i += 1 end chmod.call( mode, *selection.map{|x| x.path} ) rescue lograise + @pwd.refresh! when /^co(r?)\s*(.*)\s*:\s*(.*)$/ chown = FileUtils.method( $1.empty? ? :chown : :chown_R ) @@ -76,6 +78,7 @@ module Fm *selection.map{ |x| x.path } ) rescue lograise end end + @pwd.refresh! ## }}} -- cgit 1.4.1-2-gfad0