mirror of
https://github.com/tmux-plugins/tpm.git
synced 2025-09-14 08:56:57 +00:00
Helper functions refactoring
This commit is contained in:
19
scripts/helpers/tmux_echo_functions.sh
Normal file
19
scripts/helpers/tmux_echo_functions.sh
Normal 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."
|
||||
}
|
Reference in New Issue
Block a user