I’m moving my posts from Reddit to Lemmy before delete them.

This post is from 2020-09-03.

  • @Still
    link
    English
    71 year ago

    command goes first

    order is shell built in > path > autocd

    • @[email protected]
      link
      fedilink
      English
      91 year ago

      Then you’re likely to enter a command by accident. I would consider that a dangerous misfeature and look to turn it off.

      • @Still
        link
        English
        41 year ago

        not really tab complete puts a / at the end of autocd directories

        • @[email protected]
          link
          fedilink
          English
          41 year ago

          Can you not type in the name of the hazardous folder yourself? I’m envisioning trying to autocd into a folder named reboot or something.

          • @Still
            link
            English
            11 year ago

            then you would type reboot/

              • @Still
                link
                English
                21 year ago

                it does but if you had a file called reboot tab complete would complete the reboot command and not put the slash thwre, adding the slash specifies that it’s a directory

      • Gamma
        link
        English
        31 year ago

        I’ve got syntax highlighting enabked, so I always notice the different color when I type a commnand.