cmd_tools 4.1.2 → 4.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cmd_tools/recommended_shell_settings.rb +13 -13
- data/lib/cmd_tools/version.rb +1 -1
- metadata +24 -12
@@ -7,20 +7,20 @@ alias emacs_stop='cmd_tools emacs_stop'
|
|
7
7
|
case $(uname) in
|
8
8
|
# emacs_launch do not work satisfactory on Mac.
|
9
9
|
"Darwin")
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
10
|
+
function e(){
|
11
|
+
files=$@
|
12
|
+
for file in ${files}
|
13
|
+
do
|
14
|
+
[ -e ${file} ] || touch ${file}
|
15
|
+
done
|
16
|
+
open -a /Applications/MacPorts/Emacs.app ${files}
|
17
|
+
}
|
18
|
+
alias em='/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs --no-window-system --no-init-file'
|
19
|
+
;;
|
20
20
|
*)
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
alias e='cmd_tools emacs_launch --mode=gui'
|
22
|
+
alias em='cmd_tools emacs_launch --mode=cui'
|
23
|
+
;;
|
24
24
|
esac
|
25
25
|
EOS
|
26
26
|
end
|
data/lib/cmd_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmd_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby_patch
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '1.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.1'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: thor
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
@@ -32,7 +37,12 @@ dependencies:
|
|
32
37
|
version: '0.16'
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0.16'
|
36
46
|
description: ! 'Command line tools. Please type
|
37
47
|
|
38
48
|
|
@@ -64,11 +74,13 @@ homepage:
|
|
64
74
|
licenses: []
|
65
75
|
post_install_message: ! "\n# CmdTools\nalias bak='cmd_tools backup'\nalias tsh='cmd_tools
|
66
76
|
trash'\nalias emacs_stop='cmd_tools emacs_stop'\ncase $(uname) in\n # emacs_launch
|
67
|
-
do not work satisfactory on Mac.\n \"Darwin\")\n
|
68
|
-
\
|
69
|
-
|
70
|
-
|
71
|
-
--
|
77
|
+
do not work satisfactory on Mac.\n \"Darwin\")\n function e(){\n files=$@\n
|
78
|
+
\ for file in ${files}\n do\n [ -e ${file} ]
|
79
|
+
|| touch ${file}\n done\n open -a /Applications/MacPorts/Emacs.app
|
80
|
+
${files}\n }\n alias em='/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
|
81
|
+
--no-window-system --no-init-file'\n ;;\n *)\n alias e='cmd_tools
|
82
|
+
emacs_launch --mode=gui'\n alias em='cmd_tools emacs_launch --mode=cui'\n
|
83
|
+
\ ;;\nesac\n\n"
|
72
84
|
rdoc_options: []
|
73
85
|
require_paths:
|
74
86
|
- lib
|
@@ -86,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
98
|
version: '0'
|
87
99
|
requirements: []
|
88
100
|
rubyforge_project:
|
89
|
-
rubygems_version: 1.8.
|
101
|
+
rubygems_version: 1.8.23
|
90
102
|
signing_key:
|
91
103
|
specification_version: 3
|
92
104
|
summary: Command line tools.
|