Topic "alias ls="ls -g" error"

Author Message
shornste

Guest


If I set WinSCP to alias ls to ls -g it does not work. The reason seems to be that my shell (/usr/local/bin/tcsh) does not accept aliases with the = sign in them (i define my aliases as [alias ls 'ls -g"]) and from the logs it seems that WinSCP tries to alias ls by using the command [alias ls="ls -g"]

I have tried aliasing the command myself in my .cshrc file and it works fine. But unfortunately I also have rm, mv, cp aliased to[rm -i] etc. If I don't have winSCP remove all aliases then those commands cause deleting, copying and moving to fail.

Is there a way to edit what command winSCP issues when it is set to "alias ls to display group name?"

Thanks!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
shornste wrote:
Is there a way to edit what command winSCP issues when it is set to "alias ls to display group name?"

No it is not possible now Sad
Have you tried to specify /bin/bash on Shell tab of login dialog?
_________________
Martin Prikryl
Guest




Quote:
Have you tried to specify /bin/bash on Shell tab of login dialog?

Yes, but that did not work. However, setting the shell to /usr/bin/ksh DID work.
Problem solved.
thanks!
Now that I can use it, I hope WinSCP was worth all the trouble!! Wink
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Quote:
Now that I can use it, I hope WinSCP was worth all the trouble!! Wink

Was it?
_________________
Martin Prikryl
Guest




Anonymous wrote:
Quote:
Have you tried to specify /bin/bash on Shell tab of login dialog?

Yes, but that did not work. However, setting the shell to /usr/bin/ksh DID work.
Problem solved.
thanks!
Now that I can use it, I hope WinSCP was worth all the trouble!! Wink


I tried all this stuff and it still doesn't work. Crying or Very sad

Guess I'm going to have to find something else.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License