cmdr 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cmdr.rb +3 -0
- metadata +2 -2
data/lib/cmdr.rb
CHANGED
@@ -38,6 +38,9 @@ class Cmdr
|
|
38
38
|
if @v[:alias].has_key? command then
|
39
39
|
command, options_string2 = @v[:alias][command][/\w+/], ($').strip
|
40
40
|
options_string = options_string2 + ' '+ options_string
|
41
|
+
elsif @v[:user][user_id][:alias].has_key? command then
|
42
|
+
command, options_string2 = @v[:user][user_id][:alias][command][/\w+/], ($').strip
|
43
|
+
options_string = options_string2 + ' '+ options_string
|
41
44
|
end
|
42
45
|
|
43
46
|
# save the command to history
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmdr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors: []
|
7
7
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-08-
|
12
|
+
date: 2010-08-20 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|