bzr shell

Aaron Bentley aaron.bentley at utoronto.ca
Thu Oct 27 17:16:41 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthieu Moy wrote:

> bzr> inventory | wc
>      60      60    1257
> 
> ... impressive!

Cheap trick, actually.  I just told it to use the real shell if the
input included |, ', ", >, or <.

> It could be interesting to add a "which" builtin command, that would
> tell whether a command is a bzr command or a shell command.

Heh, that could be fun.

> To go further, you could allow a non-interactive mode to be able to
> write scripts with "#!/path/to/bzr shell", for people who don't know
> Python. Well, not sure this would be the best approach, but would be
> funny ;-).

That's Just Wrong :-)

> One more small bug: "ls" is currently broken in bzr, and "bzr shell"
> seems to catch the exception as if the command didn't exist, and falls
> back to /usr/bin/ls. I'd prefer an explicit error message in this
> case.

Actually, I've blacklisted the bzr versions of 'ls' and 'rm', because
neither works the way they should.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDYP1p0F+nu1YWqI0RApgtAJ9qe3aqJrV8QAm4Bg7TfRZmEO0ZRQCdFpu7
D1l7blt5RCuEAOLaoIMvT9c=
=qLYu
-----END PGP SIGNATURE-----




More information about the bazaar mailing list