y is z for csh/bash
Perl Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
y.csh
y.sh
yread
ywrite

README

NAME
    y - y is z for csh/bash


SYNOPSIS
       y [-h] [-l] [-r] [-t] [regex1 regex2 ... regexn]


OPTIONS
       -h show a brief help message
       -l list only
       -r match by rank only
       -t match by recent access only


INSTALL
    1. for csh users

    add the following lines into your ~/.cshrc

        alias precmd '$PATH_TO_Y_WRITE'
        alias y      'source $PATH_TO_Y_DOT_CSH_SCRIPT'

    2. for bash users

    add the following lines into your ~/.bashrc

        trap '$PATH_TO_Y_WRITE' DEBUG
        alias y='source $PATH_TO_Y_DOT_SH_SCRIPT'


EXAMPLES
       y foo	     cd to most frecent dir matching foo
       y foo bar     cd to most frecent dir matching foo and bar
       y -r foo	     cd to highest ranked dir matching foo
       y -t foo	     cd to most recently accessed dir matching foo
       y -l foo	     list all dirs matching foo (by frecency)


SEE ALSO
    https://github.com/rupa/z