This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# Headline ZSH Prompt | |
# Copyright (c) 2021 Moarram under the MIT License | |
# To install, source this file from your .zshrc file | |
# Customization variables begin around line 70 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
class DictHack: | |
__eq__ = lambda self, other: [other.__setitem__(key, value) for key, value in self.payload.items()] | |
def __init__(self, target: type["Any"], **kwargs: "Any") -> None: | |
self.target = target.__dict__ | |
self.payload = kwargs | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
from typing import Any | |
import textwrap | |
import asyncio | |
import logging | |
import os | |
import rin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
import datetime | |
from typing import TYPE_CHECKING | |
import lefi | |
from lefi.exts import commands | |
if TYPE_CHECKING: |