diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-05-19 18:01:39 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-05-19 18:01:39 +0500 |
| commit | 03a7c5b049ff7ba50330c77452575133f84e386e (patch) | |
| tree | f79ff366d099de59631e9936ee58f01a482f08e6 /units/ib_lock.zsh | |
| parent | 0ff0b7f0e6b99aedc52c031e476ec85cb6702c97 (diff) | |
bot: Begin porting to Z Shell
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'units/ib_lock.zsh')
| -rw-r--r-- | units/ib_lock.zsh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/units/ib_lock.zsh b/units/ib_lock.zsh new file mode 100644 index 0000000..e80df6c --- /dev/null +++ b/units/ib_lock.zsh @@ -0,0 +1,12 @@ +# Copyright (C) 2024-2025 Maria Lisina +# Copyright (C) 2024-2025 Danil Lisin +# SPDX-License-Identifier: Apache-2.0 + +until mkdir "${user_config}_auth.lock" +do + sleep 1 +done + +. "${units}/ib_auth.zsh" + +rm -fr "${user_config}_auth.lock" |
