mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
11 lines
274 B
Bash
Executable File
11 lines
274 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
basedir="$(cd "$(dirname "$0")" && pwd)"
|
|
# shellcheck source=lib/tmux.bash
|
|
. "${basedir}/lib/tmux.bash"
|
|
|
|
key="$(get_tmux_option '@project-key' 'g')"
|
|
if [[ -n "$key" ]]; then
|
|
tmux bind-key "$key" run-shell -b "${basedir}/libexec/switch-project.bash"
|
|
fi
|