diff options
Diffstat (limited to 'operators/command_shorts.zsh')
| -rw-r--r-- | operators/command_shorts.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/operators/command_shorts.zsh b/operators/command_shorts.zsh index f52b531..bdc3b26 100644 --- a/operators/command_shorts.zsh +++ b/operators/command_shorts.zsh @@ -2,7 +2,7 @@ # Copyright (C) 2024-2026 Danil Lisin # SPDX-License-Identifier: Apache-2.0 -until mkdir "${user_config}_shorts.lock" +until mkdir "${user_config}.lock" do sleep 1 done @@ -18,7 +18,7 @@ if [[ ${#shorts} -eq 0 ]] then output_text="You have no saved shortcuts yet" - rmdir "${user_config}_shorts.lock" + rmdir "${user_config}.lock" return fi @@ -50,4 +50,4 @@ then )" fi -rmdir "${user_config}_shorts.lock" +rmdir "${user_config}.lock" |
