diff options
-rw-r--r-- | code/keys.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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! ## }}} |