• fullsquare
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        8 days ago

        add this line

        thefuck --alias | source

        to config.fish

        • yogurtwrong@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          8 days ago

          Still broken unfortunately, shell now prints this on startup

          Traceback (most recent call last):
            File "/usr/bin/thefuck", line 3, in <module>
              from thefuck.entrypoints.main import main
            File "/usr/lib/python3.14/site-packages/thefuck/entrypoints/main.py", line 2, in <module>
              from ..system import init_output
            File "/usr/lib/python3.14/site-packages/thefuck/system/__init__.py", line 7, in <module>
              from .unix import *  # noqa: F401,F403
              ^^^^^^^^^^^^^^^^^^^
            File "/usr/lib/python3.14/site-packages/thefuck/system/unix.py", line 6, in <module>
              from distutils.spawn import find_executable
          ModuleNotFoundError: No module named 'distutils'
          
          • fullsquare
            link
            fedilink
            English
            arrow-up
            5
            ·
            8 days ago

            ah well then yeet that and instead

            pip install thefuck

            • yogurtwrong@lemmy.worldOP
              link
              fedilink
              English
              arrow-up
              3
              ·
              8 days ago
              lemmy@localhost-live ~> fuck
              No fucks given
              

              it did not work with pip either so i installed the missing dependency since you wanna fuck so much