Added Cyg-Win
This commit is contained in:
parent
82cbc206eb
commit
413c315806
10586 changed files with 3806249 additions and 0 deletions
16
Agent-Windows/OGP64/usr/share/doc/which/README.alias
Normal file
16
Agent-Windows/OGP64/usr/share/doc/which/README.alias
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
If you want `which' to inform you about aliases and shell functions in bash,
|
||||
then you need to add the following five lines to your $HOME/.bash_profile:
|
||||
|
||||
function which ()
|
||||
{
|
||||
(alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-dot --show-tilde $@
|
||||
}
|
||||
export -f which
|
||||
|
||||
This is the recommended use of this `which'.
|
||||
|
||||
The C shell (csh, tcsh) doesn't have shell functions, but fortunately
|
||||
inherites aliases in subshells. To support aliases with a C shell add
|
||||
the following line to your .profile:
|
||||
|
||||
alias which 'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
|
||||
Loading…
Add table
Add a link
Reference in a new issue