aboutsummaryrefslogtreecommitdiffstats
path: root/devscripts/zsh-completion.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 05:31:54 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 05:32:52 +0530
commite5a998f3684e7c56f9cf1c07c4e176e891d96509 (patch)
tree2db9c362fc168889debe84903a5e4dbabdb742cf /devscripts/zsh-completion.py
parentf82711587cee043cb2496fe180b5cc0e07c06eda (diff)
downloadhypervideo-pre-e5a998f3684e7c56f9cf1c07c4e176e891d96509.tar.lz
hypervideo-pre-e5a998f3684e7c56f9cf1c07c4e176e891d96509.tar.xz
hypervideo-pre-e5a998f3684e7c56f9cf1c07c4e176e891d96509.zip
[cleanup] Misc cleanup (#2173)
Authored by: fstirlitz, pukkandan
Diffstat (limited to 'devscripts/zsh-completion.py')
-rwxr-xr-xdevscripts/zsh-completion.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devscripts/zsh-completion.py b/devscripts/zsh-completion.py
index 2d5ac2a45..06660d8fd 100755
--- a/devscripts/zsh-completion.py
+++ b/devscripts/zsh-completion.py
@@ -1,9 +1,9 @@
#!/usr/bin/env python3
import os
import sys
-from os.path import dirname as dirn
-sys.path.insert(0, dirn(dirn(os.path.abspath(__file__))))
+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+
import yt_dlp
ZSH_COMPLETION_FILE = "completions/zsh/_yt-dlp"