Tmux echo function rename

This commit is contained in:
Bruno Sutic
2015-08-03 01:25:51 +02:00
parent 3347871a03
commit 516a6ea4c4
5 changed files with 19 additions and 19 deletions

View File

@ -15,11 +15,11 @@ use_tmux_echo() {
if use_tmux_echo; then
# use tmux specific echo-ing
echo_ok() {
echo_message "$*"
tmux_echo "$*"
}
echo_err() {
echo_message "$*"
tmux_echo "$*"
}
else
echo_ok() {

View File

@ -15,11 +15,11 @@ use_tmux_echo() {
if use_tmux_echo; then
# use tmux specific echo-ing
echo_ok() {
echo_message "$*"
tmux_echo "$*"
}
echo_err() {
echo_message "$*"
tmux_echo "$*"
}
else
echo_ok() {

View File

@ -45,7 +45,7 @@ shared_plugin_path() {
# TMUX messaging is weird. You only get a nice clean pane if you do it with
# `run-shell` command.
echo_message() {
tmux_echo() {
local message="$1"
tmux run-shell "echo '$message'"
}
@ -63,10 +63,10 @@ plugin_already_installed() {
}
end_message() {
echo_message ""
echo_message "TMUX environment reloaded."
echo_message ""
echo_message "Done, press ENTER to continue."
tmux_echo ""
tmux_echo "TMUX environment reloaded."
tmux_echo ""
tmux_echo "Done, press ENTER to continue."
}
ensure_tpm_path_exists() {

View File

@ -18,11 +18,11 @@ use_tmux_echo() {
if use_tmux_echo; then
# use tmux specific echo-ing
echo_ok() {
echo_message "$*"
tmux_echo "$*"
}
echo_err() {
echo_message "$*"
tmux_echo "$*"
}
else
echo_ok() {