(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
require 'sidekiq/api' | |
# Clear retry set | |
Sidekiq::RetrySet.new.clear | |
# Clear scheduled jobs | |
Sidekiq::ScheduledSet.new.clear |
#!/bin/sh | |
file "$1" | grep -q "text" | |
if [ $? -ne 0 ]; then | |
/usr/bin/open $1 | |
else | |
if [[ -z "$2" ]]; then | |
FILE_PATH="$1" | |
else | |
FILE_PATH="$1:$2" | |
fi |