We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd8ca81 commit 8b4d582Copy full SHA for 8b4d582
kubernetes.tmux
@@ -10,9 +10,9 @@ kubernetes_interpolations=(
10
)
11
12
kubernetes_commands=(
13
- "#(CURRENT_DIR/context.sh)"
14
- "#(CURRENT_DIR/namespace.sh)"
15
- "#(CURRENT_DIR/cluster.sh)"
+ "#($CURRENT_DIR/context.sh)"
+ "#($CURRENT_DIR/namespace.sh)"
+ "#($CURRENT_DIR/cluster.sh)"
16
17
18
set_tmux_option() {
@@ -24,7 +24,7 @@ set_tmux_option() {
24
do_interpolation() {
25
local all_interpolated="$1"
26
for ((i=0; i<${#kubernetes_commands[@]}; i++)); do
27
- all_interpolated=${all_interpolated//${kubernetes_interpolation[$i]}/${kubernetes_commands[$i]}}
+ all_interpolated=${all_interpolated//${kubernetes_interpolations[$i]}/${kubernetes_commands[$i]}}
28
done
29
echo "$all_interpolated"
30
}
0 commit comments