zsh Plugins
z
zz Command Line Options
z Command Line Options-cOnly match subdirectories of the current directory-eEcho the best match without going to it-hDisplay help-lList all matches without going to them-rMatch by rank (i.e. how much time you spend in directories)-tTime -- match by how recently you have been to directories-xRemove a directory (by default, the current directory) from the database-xRRemove a directory (by default, the current directory) and its subdirectories from the database
z Settings
z SettingsZsh-z has environment variables (they all begin with ZSHZ_) that change its behavior if you set them; you can also keep your old ones if you have been using rupa/z (they begin with _Z_).
ZSHZ_CMDchanges the command name (default:z)ZSHZ_COMPLETIONcan be'frecent'(default) or'legacy', depending on whether you want your completion results sorted according to frecency or simply sorted alphabeticallyZSHZ_DATAchanges the database file (default:~/.z)ZSHZ_ECHOdisplays the new path name when changing directories (default:0)ZSHZ_EXCLUDE_DIRSis an array of directories to keep out of the database (default: empty)ZSHZ_KEEP_DIRSis an array of directories that should not be removed from the database, even if they are not currently available (useful when a drive is not always mounted) (default: empty)ZSHZ_MAX_SCOREis the maximum combined score the database entries can have before they begin to age and potentially drop out of the database (default: 9000)ZSHZ_NO_RESOLVE_SYMLINKSprevents symlink resolution (default:0)ZSHZ_OWNERallows usage when insudo -smode (default: empty)ZSHZ_TILDEdisplays the name of theHOMEdirectory as a~(default:0)ZSHZ_TRAILING_SLASHmakes it so that a search pattern ending in/can match the final element in a path; e.g.,z foo/can match/path/to/foo(default:0)ZSHZ_UNCOMMONchanges the logic used to calculate the directory jumped to; see here (default:0)
Last updated
Was this helpful?