Verzeichnis ohne cd wechseln

Ich wuerde gerne in der bash ein Verzeichnis ohne den Aufruf von „cd“ wechseln koennen. Also einfach nur durch Eingabe des Pfades, jemand eine Idee?

Loesung: zsh installiert und als default eingestelt

4 Gedanken zu „Verzeichnis ohne cd wechseln“

  1. Nimm ne richtige Shell.

    man zshoptions

    AUTO_CD (-J)
    If a command is issued that can’t be executed as a normal command, and the command is the name of a directory, perform the cd command to that directory.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.