mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 21:22:00 +03:00
parent
90c16d2b0d
commit
ca8cbf316c
@ -5,9 +5,10 @@ hook global KakBegin .* %{
|
|||||||
%sh{
|
%sh{
|
||||||
if [ -n "$TMUX" ]; then
|
if [ -n "$TMUX" ]; then
|
||||||
VERSION_TMUX=$(tmux -V)
|
VERSION_TMUX=$(tmux -V)
|
||||||
VERSION_TMUX=$(expr "${VERSION_TMUX}" : 'tmux \([0-9]*\).*')
|
VERSION_TMUX=$(expr "${VERSION_TMUX}" : 'tmux \([0-9]*\|master\)')
|
||||||
|
|
||||||
if [ "${VERSION_TMUX}" -gt 1 ]; then
|
if [ "${VERSION_TMUX}" = "master" ] \
|
||||||
|
|| [ "${VERSION_TMUX}" -ge 2 ]; then
|
||||||
echo "
|
echo "
|
||||||
alias global repl tmux-repl-horizontal
|
alias global repl tmux-repl-horizontal
|
||||||
alias global send-text tmux-send-text
|
alias global send-text tmux-send-text
|
||||||
|
Loading…
Reference in New Issue
Block a user