mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
Add tmux package and common dotfiles deployment
This commit is contained in:
10
dotfiles/common/.tmux/plugins/tmux-project/project.tmux
Executable file
10
dotfiles/common/.tmux/plugins/tmux-project/project.tmux
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user