diff options
-rwxr-xr-x | bin/dotenv | 8 | ||||
-rwxr-xr-x | bin/flask | 8 | ||||
-rwxr-xr-x | bin/pip | 8 | ||||
-rwxr-xr-x | bin/pip3 | 8 | ||||
-rwxr-xr-x | bin/pip3.10 | 8 | ||||
-rwxr-xr-x | bin/pip3.9 | 8 | ||||
-rwxr-xr-x | bin/show | 42 | ||||
-rwxr-xr-x | bin/virtualenv | 8 |
8 files changed, 0 insertions, 98 deletions
diff --git a/bin/dotenv b/bin/dotenv deleted file mode 100755 index d2a68bb..0000000 --- a/bin/dotenv +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys -from dotenv.cli import cli -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(cli()) diff --git a/bin/flask b/bin/flask deleted file mode 100755 index f9409f3..0000000 --- a/bin/flask +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys -from flask.cli import main -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/bin/pip b/bin/pip deleted file mode 100755 index fd70727..0000000 --- a/bin/pip +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys -from pip._internal.cli.main import main -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/bin/pip3 b/bin/pip3 deleted file mode 100755 index fd70727..0000000 --- a/bin/pip3 +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys -from pip._internal.cli.main import main -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/bin/pip3.10 b/bin/pip3.10 deleted file mode 100755 index fd70727..0000000 --- a/bin/pip3.10 +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys -from pip._internal.cli.main import main -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/bin/pip3.9 b/bin/pip3.9 deleted file mode 100755 index fd70727..0000000 --- a/bin/pip3.9 +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys -from pip._internal.cli.main import main -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/bin/show b/bin/show deleted file mode 100755 index c98bf72..0000000 --- a/bin/show +++ /dev/null @@ -1,42 +0,0 @@ -#! /usr/bin/env lua - --- Copyright (C) 2022 HimbeerserverDE --- --- This program is free software: you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation, either version 3 of the License, or --- (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with this program. If not, see <https://www.gnu.org/licenses/>. - -function string:ends_with(str) - return self:sub(#self - #str + 1, #self) == str -end - -local commands = { - ["batcat"] = {".c", ".cpp", ".h", ".hpp", ".lua", ".rb", ".java", ".xml", ".html", ".py", ".go", ".asm", ".php", ".rs", ".sh", ".diff", ".patch", ".js", ".css", "Makefile", ".basrc", ".bash_aliases", ".zshrc"}, - ["~/.local/kitty.app/bin/kitty +kitten icat"] = {".png", ".jpg", ".jpeg", ".gif", ".svg"}, - ["lolcat"] = {".txt"}, -} - -function get_command(file) - for cmd, endings in pairs(commands) do - for _, ending in pairs(endings) do - if file:ends_with(ending) then - return cmd - end - end - end - - return "/bin/cat" -end - -for _, file in ipairs(arg) do - os.execute(get_command(file) .. " \"" .. file .. "\"", "r") -end diff --git a/bin/virtualenv b/bin/virtualenv deleted file mode 100755 index 89af1d4..0000000 --- a/bin/virtualenv +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys -from virtualenv.__main__ import run_with_catch -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(run_with_catch()) |