Skip to content

Commit f83fa5c

Browse files
committed
Created mac app for launching shell in linux container.
1 parent 0565327 commit f83fa5c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+311
-2
lines changed

apps/.DS_Store

6 KB
Binary file not shown.

apps/Linux.app/Contents/Info.plist

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AMIsApplet</key>
6+
<true/>
7+
<key>AMStayOpen</key>
8+
<false/>
9+
<key>BuildMachineOSBuild</key>
10+
<string>17A405001</string>
11+
<key>CFBundleAllowMixedLocalizations</key>
12+
<true/>
13+
<key>CFBundleDevelopmentRegion</key>
14+
<string>English</string>
15+
<key>CFBundleDocumentTypes</key>
16+
<array>
17+
<dict>
18+
<key>CFBundleTypeExtensions</key>
19+
<array>
20+
<string>*</string>
21+
</array>
22+
<key>CFBundleTypeName</key>
23+
<string>Automator workflow file</string>
24+
<key>CFBundleTypeOSTypes</key>
25+
<array>
26+
<string>****</string>
27+
</array>
28+
<key>CFBundleTypeRole</key>
29+
<string>Viewer</string>
30+
</dict>
31+
</array>
32+
<key>CFBundleExecutable</key>
33+
<string>Application Stub</string>
34+
<key>CFBundleIconFile</key>
35+
<string>AutomatorApplet</string>
36+
<key>CFBundleIdentifier</key>
37+
<string>com.apple.automator.Linux</string>
38+
<key>CFBundleInfoDictionaryVersion</key>
39+
<string>6.0</string>
40+
<key>CFBundleName</key>
41+
<string>Linux</string>
42+
<key>CFBundlePackageType</key>
43+
<string>APPL</string>
44+
<key>CFBundleShortVersionString</key>
45+
<string>1.3</string>
46+
<key>CFBundleSignature</key>
47+
<string>????</string>
48+
<key>CFBundleSupportedPlatforms</key>
49+
<array>
50+
<string>MacOSX</string>
51+
</array>
52+
<key>CFBundleURLTypes</key>
53+
<array/>
54+
<key>CFBundleVersion</key>
55+
<string>444.42</string>
56+
<key>DTCompiler</key>
57+
<string>com.apple.compilers.llvm.clang.1_0</string>
58+
<key>DTPlatformBuild</key>
59+
<string>10P70r</string>
60+
<key>DTPlatformName</key>
61+
<string>macosx</string>
62+
<key>DTPlatformVersion</key>
63+
<string>10.14</string>
64+
<key>DTSDKBuild</key>
65+
<string>18E203</string>
66+
<key>DTSDKName</key>
67+
<string>macosx10.14internal</string>
68+
<key>DTXcode</key>
69+
<string>1020</string>
70+
<key>DTXcodeBuild</key>
71+
<string>10P70r</string>
72+
<key>LSMinimumSystemVersion</key>
73+
<string>10.6</string>
74+
<key>LSUIElement</key>
75+
<true/>
76+
<key>NSAppleEventsUsageDescription</key>
77+
<string>This workflow needs to control other applications to run.</string>
78+
<key>NSAppleMusicUsageDescription</key>
79+
<string>This workflow needs access to your music to run.</string>
80+
<key>NSAppleScriptEnabled</key>
81+
<string>YES</string>
82+
<key>NSCalendarsUsageDescription</key>
83+
<string>This workflow needs access to your calendars to run.</string>
84+
<key>NSCameraUsageDescription</key>
85+
<string>This workflow needs access to your camera to run.</string>
86+
<key>NSContactsUsageDescription</key>
87+
<string>This workflow needs access to your contacts to run.</string>
88+
<key>NSHomeKitUsageDescription</key>
89+
<string>This workflow needs access to your HomeKit Home to run.</string>
90+
<key>NSMicrophoneUsageDescription</key>
91+
<string>This workflow needs access to your microphone to run.</string>
92+
<key>NSPhotoLibraryUsageDescription</key>
93+
<string>This workflow needs access to your photos to run.</string>
94+
<key>NSPrincipalClass</key>
95+
<string>NSApplication</string>
96+
<key>NSRemindersUsageDescription</key>
97+
<string>This workflow needs access to your reminders to run.</string>
98+
<key>NSServices</key>
99+
<array/>
100+
<key>NSSiriUsageDescription</key>
101+
<string>This workflow needs access to Siri to run.</string>
102+
<key>NSSystemAdministrationUsageDescription</key>
103+
<string>This workflow needs access to administer this system in order to run.</string>
104+
<key>UTExportedTypeDeclarations</key>
105+
<array/>
106+
<key>UTImportedTypeDeclarations</key>
107+
<array/>
108+
</dict>
109+
</plist>
67.5 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+193
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AMApplicationBuild</key>
6+
<string>444.42</string>
7+
<key>AMApplicationVersion</key>
8+
<string>2.9</string>
9+
<key>AMDocumentVersion</key>
10+
<string>2</string>
11+
<key>actions</key>
12+
<array>
13+
<dict>
14+
<key>action</key>
15+
<dict>
16+
<key>AMAccepts</key>
17+
<dict>
18+
<key>Container</key>
19+
<string>List</string>
20+
<key>Optional</key>
21+
<true/>
22+
<key>Types</key>
23+
<array>
24+
<string>com.apple.cocoa.string</string>
25+
</array>
26+
</dict>
27+
<key>AMActionVersion</key>
28+
<string>2.0.3</string>
29+
<key>AMApplication</key>
30+
<array>
31+
<string>Automator</string>
32+
</array>
33+
<key>AMParameterProperties</key>
34+
<dict>
35+
<key>COMMAND_STRING</key>
36+
<dict/>
37+
<key>CheckedForUserDefaultShell</key>
38+
<dict/>
39+
<key>inputMethod</key>
40+
<dict/>
41+
<key>shell</key>
42+
<dict/>
43+
<key>source</key>
44+
<dict/>
45+
</dict>
46+
<key>AMProvides</key>
47+
<dict>
48+
<key>Container</key>
49+
<string>List</string>
50+
<key>Types</key>
51+
<array>
52+
<string>com.apple.cocoa.string</string>
53+
</array>
54+
</dict>
55+
<key>ActionBundlePath</key>
56+
<string>/System/Library/Automator/Run Shell Script.action</string>
57+
<key>ActionName</key>
58+
<string>Run Shell Script</string>
59+
<key>ActionParameters</key>
60+
<dict>
61+
<key>COMMAND_STRING</key>
62+
<string>open -a Terminal /Users/rkraus/src/dotfiles/bin/linux.sh</string>
63+
<key>CheckedForUserDefaultShell</key>
64+
<true/>
65+
<key>inputMethod</key>
66+
<integer>0</integer>
67+
<key>shell</key>
68+
<string>/bin/bash</string>
69+
<key>source</key>
70+
<string></string>
71+
</dict>
72+
<key>BundleIdentifier</key>
73+
<string>com.apple.RunShellScript</string>
74+
<key>CFBundleVersion</key>
75+
<string>2.0.3</string>
76+
<key>CanShowSelectedItemsWhenRun</key>
77+
<false/>
78+
<key>CanShowWhenRun</key>
79+
<true/>
80+
<key>Category</key>
81+
<array>
82+
<string>AMCategoryUtilities</string>
83+
</array>
84+
<key>Class Name</key>
85+
<string>RunShellScriptAction</string>
86+
<key>InputUUID</key>
87+
<string>48F7C2FF-B105-4C30-952F-B177E7F916A5</string>
88+
<key>Keywords</key>
89+
<array>
90+
<string>Shell</string>
91+
<string>Script</string>
92+
<string>Command</string>
93+
<string>Run</string>
94+
<string>Unix</string>
95+
</array>
96+
<key>OutputUUID</key>
97+
<string>56769337-034B-467B-ABF6-321CE7ECB49A</string>
98+
<key>UUID</key>
99+
<string>15974BBC-130B-48AA-875B-E073470EDDD7</string>
100+
<key>UnlocalizedApplications</key>
101+
<array>
102+
<string>Automator</string>
103+
</array>
104+
<key>arguments</key>
105+
<dict>
106+
<key>0</key>
107+
<dict>
108+
<key>default value</key>
109+
<integer>0</integer>
110+
<key>name</key>
111+
<string>inputMethod</string>
112+
<key>required</key>
113+
<string>0</string>
114+
<key>type</key>
115+
<string>0</string>
116+
<key>uuid</key>
117+
<string>0</string>
118+
</dict>
119+
<key>1</key>
120+
<dict>
121+
<key>default value</key>
122+
<string></string>
123+
<key>name</key>
124+
<string>source</string>
125+
<key>required</key>
126+
<string>0</string>
127+
<key>type</key>
128+
<string>0</string>
129+
<key>uuid</key>
130+
<string>1</string>
131+
</dict>
132+
<key>2</key>
133+
<dict>
134+
<key>default value</key>
135+
<false/>
136+
<key>name</key>
137+
<string>CheckedForUserDefaultShell</string>
138+
<key>required</key>
139+
<string>0</string>
140+
<key>type</key>
141+
<string>0</string>
142+
<key>uuid</key>
143+
<string>2</string>
144+
</dict>
145+
<key>3</key>
146+
<dict>
147+
<key>default value</key>
148+
<string></string>
149+
<key>name</key>
150+
<string>COMMAND_STRING</string>
151+
<key>required</key>
152+
<string>0</string>
153+
<key>type</key>
154+
<string>0</string>
155+
<key>uuid</key>
156+
<string>3</string>
157+
</dict>
158+
<key>4</key>
159+
<dict>
160+
<key>default value</key>
161+
<string>/bin/sh</string>
162+
<key>name</key>
163+
<string>shell</string>
164+
<key>required</key>
165+
<string>0</string>
166+
<key>type</key>
167+
<string>0</string>
168+
<key>uuid</key>
169+
<string>4</string>
170+
</dict>
171+
</dict>
172+
<key>conversionLabel</key>
173+
<integer>0</integer>
174+
<key>isViewVisible</key>
175+
<true/>
176+
<key>location</key>
177+
<string>309.000000:252.000000</string>
178+
<key>nibPath</key>
179+
<string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib</string>
180+
</dict>
181+
<key>isViewVisible</key>
182+
<true/>
183+
</dict>
184+
</array>
185+
<key>connectors</key>
186+
<dict/>
187+
<key>workflowMetaData</key>
188+
<dict>
189+
<key>workflowTypeIdentifier</key>
190+
<string>com.apple.Automator.application</string>
191+
</dict>
192+
</dict>
193+
</plist>

apps/Linux.app/Icon

Whitespace-only changes.

bash/aliases

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ if [ $(command -v pbcopy | wc -l) -eq 0 ]; then
55
alias pbcopy='xclip -selection clipboard'
66
alias pbpaste='xclip -selection clipboard -o'
77
fi
8+

bin/linux.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
clear; /usr/local/bin/docker exec -it workspace /bin/bash

git/gitconfig

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
[filter "lfs"]
2-
clean = git-lfs clean %f
3-
smudge = git-lfs smudge %f
2+
clean = git-lfs clean -- %f
3+
smudge = git-lfs smudge -- %f
44
required = true
5+
process = git-lfs filter-process
56
[user]
67
name = Ryan Kraus
78
89
[push]
910
default = simple
11+
12+
insteadOf = https://github.com/

0 commit comments

Comments
 (0)