Naman Posted August 20, 2020 Posted August 20, 2020 Hello everyone, I've been desperately trying to send a few commands to my tmux sessions from alfred. To send tmux commands I am using: $ tmux send-keys -t my-session-name:0 "my command" ENTER This is easily done from the terminal itself. Want to shorten the process.
deanishe Posted August 20, 2020 Posted August 20, 2020 Put your command in a Run Script action with Language = /bin/bash, and run it via a Keyword or Hotkey. Be sure to use the full path to tmux, i.e. /usr/local/bin/tmux send-keys ...
Naman Posted August 21, 2020 Author Posted August 21, 2020 On 8/20/2020 at 1:27 PM, deanishe said: Put your command in a Run Script action with Language = /bin/bash, and run it via a Keyword or Hotkey. Be sure to use the full path to tmux, i.e. /usr/local/bin/tmux send-keys ... It worked! Thanks ton
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now