DEV Community

Discussion on: I spend one hour a week optimizing my development environment.

Collapse
 
oryanmoshe profile image
Oryan Moshe

I can share the workflows themselves, but honestly they're pretty boring 😅
Nothing too crazy going on there.
Here's the Applescripts for the last one, hope you can adjust them to your use case!

on alfred_script(q)
    tell application "Hyper.app"
            activate
        tell application "System Events"
            keystroke "bb"
            key code 36
            keystroke "rs"
        end tell
    end tell
end alfred_script

bb is my alias for switching to my dev folder, 36 is the keycode for enter, and rs is my alias for rails server over nodemon