about summary refs log tree commit diff stats
path: root/code/keys.rb
diff options
context:
space:
mode:
Diffstat (limited to 'code/keys.rb')
-rw-r--r--code/keys.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/code/keys.rb b/code/keys.rb
index d7d2545f..ac0bce39 100644
--- a/code/keys.rb
+++ b/code/keys.rb
@@ -316,6 +316,11 @@ module Fm
 				end
 			end
 
+		when 'du'
+			externally do
+				system "du --max-depth=1 -h | less"
+			end
+
 		when 'tar'
 			externally do
 				system('tar', 'cvvf', 'pack.tar', *selection.map{|x| x.basename})