{"id":14063611,"url":"https://github.com/badmotorfinger/z","last_synced_at":"2025-07-29T15:34:33.975Z","repository":{"id":44487047,"uuid":"10635246","full_name":"badmotorfinger/z","owner":"badmotorfinger","description":"Save time typing out directory paths in PowerShell by jumping around instead.","archived":false,"fork":true,"pushed_at":"2024-05-23T06:55:52.000Z","size":493,"stargazers_count":432,"open_issues_count":9,"forks_count":33,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-15T10:48:47.387Z","etag":null,"topics":["command-line","command-line-tool","jump","powershell","powershell-module"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"rupa/z","license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badmotorfinger.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-12T02:55:36.000Z","updated_at":"2024-11-14T08:17:14.000Z","dependencies_parsed_at":"2023-02-17T07:01:04.932Z","dependency_job_id":null,"html_url":"https://github.com/badmotorfinger/z","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badmotorfinger%2Fz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badmotorfinger%2Fz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badmotorfinger%2Fz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badmotorfinger%2Fz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badmotorfinger","download_url":"https://codeload.github.com/badmotorfinger/z/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228028543,"owners_count":17858347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","command-line-tool","jump","powershell","powershell-module"],"created_at":"2024-08-13T07:03:25.252Z","updated_at":"2024-12-04T01:31:04.695Z","avatar_url":"https://github.com/badmotorfinger.png","language":"PowerShell","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"readme":"qweqwe\nZ(1)                             User Commands                            Z(1)\n\n\n\nNAME\n       z - jump around\n\nSYNOPSIS\n       z [-chlrtx] [regex1 regex2 ... regexn]\n\nAVAILABILITY\n       bash, zsh\n\nDESCRIPTION\n       Tracks your most used directories, based on 'frecency'.\n\n       After  a  short  learning  phase, z will take you to the most 'frecent'\n       directory that matches ALL of the regexes given on the command line.\n\nOPTIONS\n       -c     restrict matches to subdirectories of the current directory\n\n       -h     show a brief help message\n\n       -l     list only\n\n       -r     match by rank only\n\n       -t     match by recent access only\n\n       -x     remove the current directory from the datafile\n\nEXAMPLES\n       z foo         cd to most frecent dir matching foo\n\n       z foo bar     cd to most frecent dir matching foo and bar\n\n       z -r foo      cd to highest ranked dir matching foo\n\n       z -t foo      cd to most recently accessed dir matching foo\n\n       z -l foo      list all dirs matching foo (by frecency)\n\nNOTES\n   Installation:\n       Put something like this in your $HOME/.bashrc or $HOME/.zshrc:\n\n              . /path/to/z.sh\n\n       cd around for a while to build up the db.\n\n       PROFIT!!\n\n       Optionally:\n              Set $_Z_CMD to change the command name (default z).\n              Set $_Z_DATA to change the datafile (default $HOME/.z).\n              Set $_Z_NO_RESOLVE_SYMLINKS to prevent symlink resolution.\n              Set $_Z_NO_PROMPT_COMMAND to handle PROMPT_COMMAND/precmd  your-\n              self.\n              Set $_Z_EXCLUDE_DIRS to an array of directories to exclude.\n              (These  settings  should  go  in .bashrc/.zshrc before the lines\n              added above.)\n              Install   the   provided   man   page   z.1    somewhere    like\n              /usr/local/man/man1.\n\n   Aging:\n       The rank of directories maintained by z undergoes aging based on a sim-\n       ple formula. The rank of each entry is incremented  every  time  it  is\n       accessed.  When  the  sum  of ranks is greater than 6000, all ranks are\n       multiplied by 0.99. Entries with a rank lower than 1 are forgotten.\n\n   Frecency:\n       Frecency is a portmanteau of 'recent' and 'frequency'. It is a weighted\n       rank  that  depends on how often and how recently something occurred. As\n       far as I know, Mozilla came up with the term.\n\n       To z, a directory that has low ranking but has been  accessed  recently\n       will  quickly  have  higher rank than a directory accessed frequently a\n       long time ago.\n\n       Frecency is determined at runtime.\n\n   Common:\n       When multiple directories match all queries, and they all have a common\n       prefix, z will cd to the shortest matching directory, without regard to\n       priority.  This has been in effect, if  undocumented,  for  quite  some\n       time, but should probably be configurable or reconsidered.\n\n   Tab Completion:\n       z  supports tab completion. After any number of arguments, press TAB to\n       complete on directories that match each argument. Due to limitations of\n       the  completion  implementations,  only  the last argument will be com-\n       pleted in the shell.\n\n       Internally, z decides you've requested a completion if the  last  argu-\n       ment  passed  is  an  absolute  path to an existing directory. This may\n       cause unexpected behavior if the last argument to z begins with /.\n\nENVIRONMENT\n       A function _z() is defined.\n\n       The contents of the variable $_Z_CMD is aliased to _z 2\u003e\u00261. If not set,\n       $_Z_CMD defaults to z.\n\n       The  environment  variable $_Z_DATA can be used to control the datafile\n       location. If it is not defined, the location defaults to $HOME/.z.\n\n       The environment variable $_Z_NO_RESOLVE_SYMLINKS can be set to  prevent\n       resolving  of  symlinks.  If  it  is  not  set,  symbolic links will be\n       resolved when added to the datafile.\n\n       In bash, z prepends a command to the PROMPT_COMMAND  environment  vari-\n       able  to  maintain its database. In zsh, z appends a function _z_precmd\n       to the precmd_functions array.\n\n       The environment variable $_Z_NO_PROMPT_COMMAND can be set if  you  want\n       to handle PROMPT_COMMAND or precmd yourself.\n\n       The  environment  variable  $_Z_EXCLUDE_DIRS  can be set to an array of\n       directories to exclude from tracking. $HOME is always excluded.  Direc-\n       tories must be full paths without trailing slashes.\n\nFILES\n       Data  is  stored  in  $HOME/.z.  This  can be overridden by setting the\n       $_Z_DATA environment variable. When initialized, z will raise an  error\n       if this path is a directory, and not function correctly.\n\n       A man page (z.1) is provided.\n\nSEE ALSO\n       regex(7), pushd, popd, autojump, cdargs\n\n       Please file bugs at https://github.com/rupa/z/\n\n\n\nz                                January 2013                             Z(1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadmotorfinger%2Fz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadmotorfinger%2Fz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadmotorfinger%2Fz/lists"}