Helper functions refactoring

This commit is contained in:
Bruno Sutic committed 2015-08-03 15:17:07 +02:00
1 parent eab403b6d8
commit 5adc9a987f
11 files changed
+59 -97

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
tmux_echo() {
local message="$1"
tmux run-shell "echo '$message'"
}
echo_ok() {
tmux_echo "$*"
}
echo_err() {
tmux_echo "$*"
}
end_message() {
tmux_echo ""
tmux_echo "TMUX environment reloaded."
tmux_echo ""
tmux_echo "Done, press ENTER to continue."
}