Re: Switching from tcsh to bash ...
- From: claudel@xxxxxxxxxxxxxx (claudel)
- Date: 29 Nov 2005 09:46:17 -0800
In article <tph-C02F06.10410729112005@localhost>,
Tom Harrington <tph@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>In article <0001HW.BFB1DB1600153A45F0335550@xxxxxxxxxxxxxxxxx>,
> Verne Arase <VerneA@xxxxxxxxx> wrote:
>
>> Well, I've finally bit the bullet, and am attempting a switch from tcsh to
>> bash, but have a few last tidbits I haven't been able to solve.
>>
>> 1. Certain commands like (like fink) allowed you to do command operand
>> completion.
>>
>> If you typed
>>
>> fink s<tab>
>>
>> it would complete to
>>
>> fink selfupdate
>>
>> Is something like this available in bash?
>
>I don't think so. That's a feature of tcsh, and I don't know of any
>bash equivalent.
>
>> 2. tcsh came with a set of aliases (currently defined in
>> /usr/share/tcsh/examples/aliases), but transliterating these into bash hasn't
>> worked for me. Specifically, I miss ll and would love to know how to get this
>> one into bash.
>
>For bash the syntax would be:
>
>alias ll='ls -l'
>
I don't know if you need it, but there's a script callled "cshtobash"
floating around the 'net that helped me with the switch. I ran it on
my old .cshrc and it took a bit of the pain away. I still had to manually
convert a few lines, but the script shortened the process.
Claude
.
- References:
- Switching from tcsh to bash ...
- From: Verne Arase
- Re: Switching from tcsh to bash ...
- From: Tom Harrington
- Switching from tcsh to bash ...
- Prev by Date: Re: Switching from tcsh to bash ...
- Next by Date: Re: Very long audio files
- Previous by thread: Re: Switching from tcsh to bash ...
- Next by thread: Re: Switching from tcsh to bash ...
- Index(es):
Relevant Pages
|