• @cd_slash_rmrf
    link
    31 year ago

    if you spend a lot of time in the shell, i like using the following for easier directory traversal:

    • fzf and its shell bindings for fuzzy-matching arguments
    • z for jumping to “frecent” directories
    • zsh-z (a native zsh port of z)
    • bd for going back directories

    and some zsh settings which make cd silently act like pushd/popd:

    # autopushd         : make cd act like pushd (alias doesn't work properly)
    # pushdminus        : use -1 instead of +1
    # pushdsilent       : prevents printing stack on each cd
    # pushdtohome       : `pushd` to ~/
    # pushdignoredups   : dont add duplicates to stack
    
    • GammaM
      link
      21 year ago

      I want to add setopt autocd, and hash -d name=/some/long/path/to/name to create your own ~name shortcuts.

      • @cd_slash_rmrf
        link
        21 year ago

        woa, i didn’t even know about hash -d name=/path, neat!