diff options
author | hut <hut@lavabit.com> | 2009-07-20 23:53:09 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-20 23:53:09 +0200 |
commit | 513358bcf66ad923848ccc1201d1bc04745b351f (patch) | |
tree | 574dbaad086ad598ee6f795946ed9eef10622165 | |
parent | e805ddb1fc16736a8735bbda16ee094f4c59e182 (diff) | |
download | ranger-513358bcf66ad923848ccc1201d1bc04745b351f.tar.gz |
refresh after chmod/chown
-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! ## }}} |