Skip to content

Commit 53adad8

Browse files
committed
Do not generate completion scripts in CONFIG_DIR
1 parent 478c6cd commit 53adad8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

stagpy/args.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
time_series,
2525
)
2626
from ._helpers import baredoc
27-
from .config import CONFIG_DIR
2827

2928
if typing.TYPE_CHECKING:
3029
from typing import Any, Callable, List, Optional
@@ -103,13 +102,6 @@ def compl_cmd() -> None:
103102
completions=Subcmd("generate completion scripts", func=compl_cmd),
104103
)
105104

106-
bash_script = CONFIG_DIR / "bash" / "stagpy.sh"
107-
bash_script.parent.mkdir(parents=True, exist_ok=True)
108-
climan.bash_complete(bash_script, "stagpy")
109-
zsh_script = CONFIG_DIR / "zsh" / "_stagpy.sh"
110-
zsh_script.parent.mkdir(parents=True, exist_ok=True)
111-
climan.zsh_complete(zsh_script, "stagpy", sourceable=True)
112-
113105
cmd_args = climan.parse_args(arglist)
114106
sub_cmd = cmd_args.loam_sub_name
115107

0 commit comments

Comments
 (0)