Created
March 2, 2020 14:57
-
-
Save darrenpmeyer/b3220afacd500fc2cd0095083fec0322 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- in iTerm2, create a profile named 'Alfred' with the settings you want | |
-- this script will create a new bash login environment using that profile and run the Alfred commands | |
-- in Alfred's preferences, go to Terminal, select Custom, and paste this script in | |
on alfred_script(q) | |
set text item delimiters to " " | |
set cmdline to q as text | |
tell application "iTerm" | |
create window with profile "Alfred" command "bash -lc " & quoted form of cmdline | |
end tell | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment