mirror of
https://github.com/tmux-plugins/tpm.git
synced 2026-11-02 08:21:36 +00:00
Move all helpers to 'helpers/' dir
This commit is contained in:
7 files changed
+43
-42
No files matched your search
@@ -0,0 +1,17 @@
|
||||
ensure_tpm_path_exists() {
|
||||
mkdir -p "$(tpm_path)"
|
||||
}
|
||||
|
||||
fail_helper() {
|
||||
local message="$1"
|
||||
echo "$message" >&2
|
||||
FAIL="true"
|
||||
}
|
||||
|
||||
exit_value_helper() {
|
||||
if [ "$FAIL" == "true" ]; then
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
Reference in new issue
Block a user