[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: shells & re: profile
Alex Shnitman <alexsh@hectic.net> wrote:
> It's funny, I also thought so, but then when I actually checked I
> found out that bash had every single feature I was using in tcsh
> (things like !!:1 and !$, like ^z^x, Ctrl-X *, and so on)... And it
> has some pretty neat default settings like listing possible
> completions after a second tab (as opposed to the crude Ctrl-D of
> tcsh), completing a wildcard with tab if there's only one possibility,
> and so on.
The autocompletion in tcsh is also highly customizable. In my setup, cd
<Tab> gives only the directories inside the cwd, vi lists all but *.o files,
wine - *.exe and .com in the specially defined $WINPATH etc. With a bit of
tweaking, you can make rcp hostname: autocomplete even the _remote_ path...
IMO, both shells in their modern incarnation are very powerful and provide
for nearly same functionality. However, since all system scripts are
traditionally written in the Bourne shell, I prefer to use bash for root
account (so I can debug the scripts without opening another window/shell;
BTW, lately, bash comes with a nice shell debugger, written, of course, in
bash!) and tcsh while working as a user.
Regards,
Evgeny
--
____________________________________________________________
/ Evgeny Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il> \
/ Plasma Laboratory, Weizmann Institute of Science, Israel \ \
| Phone : (972)8-934-3610 == | == FAX : (972)8-934-3491 | |
| URL : http://plasma-gate.weizmann.ac.il/~fnevgeny/ | |
| Finger for PGP key >=====================================+ |
|______________________________________________________________|