lib/fs/alias.rb in fs-0.1.0 vs lib/fs/alias.rb in fs-0.1.1
- old
+ new
@@ -5,14 +5,17 @@
:mkdir => :makedir,
:mkdir_p => :makedirs,
:rmdir => :removedir,
:rm_r => :removedirs,
:cd => :changedir,
+ :pwd => :currentdir,
:mv => :move,
:cp => :copy,
:rm => :remove,
:cat => :read,
:ln => :link,
+ :dir? => :directory?,
+ :expand => :expand_path,
}
def self.included(base)
base.class_eval do
ALIASES.each do |shortcut, original|