[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pwd; docs, builtins and exec



-----BEGIN PGP SIGNED MESSAGE-----

Haven't heard from the zsh community, so FWIW,

    Raul> Dale Scheetz <dwarf@polaris.net> wrote:
    >> Ash doesn't seem to have such a feature, is this a mark in Bash's favor?

    Raul> In ash, you can use:

    Raul> pwd(){ /bin/pwd "$@";}

    Raul> Of course, this works in bash as well...

I've found two ways in zsh:

  alias pwd='command pwd'

and (similar, but not the same as bash's `enable -n')

  disable pwd

Seems zsh's disable/enable is a little more powerful than bash's (big
surprise there ;-)... works on aliases, shell functions and reserved
words...

Bye, J

- -- 
Jürgen A. Erhard  eMail: jae@laden.ilk.de  phone: (GERMANY) 0721 27326
   MARS: http://members.tripod.com/~Juergen_Erhard/mars_index.html
 Mesa - Free OpenGL API (http://www.ssec.wisc.edu/~brianp/Mesa.html)
	    pros do it for money -- amateurs out of love.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQEVAwUBNeyKYQIG66LugGzRAQEg9gf/WxCyZq1+FwKjjFoRJokARMvRWIk9a/9e
+kMVx8G51tv7Yvc2Yd3ZkU7Occ6QekfQvDHDQKAOJ5JrB3WEWGwOpbQI7e0epA4G
Uv4Ejme7XrEyMJoiEYNnTrqt+5zU+sVDZMby0ketN0RJ4WQTd5m8/bp8C22g8qe7
eHFO5qOLS3D9QNfWDb4DDJ0koKOj9yzlhTKTxAABE7dg9OL7JwCVaw8pKwaZeTcs
L8cq0O5CdiPhhwlr5Q31R6prKA32Vz76/OA95Jkm3ySOUfnLGOCr1DMhGV656F0q
24P2C4DV+EaK6c7FTBIQAPVOt1Tik7JsPD0d59l2atMpS0tSVDRUGg==v3YE
-----END PGP SIGNATURE-----


Reply to: