Don't overwrite $prefix if already bound

pull/13/head
Mike Foley 2014-12-02 17:55:10 -08:00
parent bbff707eaa
commit df5b537d21
1 changed files with 3 additions and 1 deletions

View File

@ -132,7 +132,9 @@ main() {
fi
# pressing `prefix + prefix` sends <prefix> to the shell
tmux bind-key "$prefix" send-prefix
if key_binding_not_set "$prefix"; then
tmux bind-key "$prefix" send-prefix
fi
fi
# If Ctrl-a is prefix then `Ctrl-a + a` switches between alternate windows.