I want to set a short alias for a long command column in csh

Asked 1 years ago, Updated 1 years ago, 73 views

When switching environments with python anaconda, it's troublesome to enter source~/.pyenv/versions/anaconda-4.0.0/bin/activate environment name in full path each time, so I don't know how to do it. I can't define functions because I use csh.

Is there any good way?

command-line csh

2022-09-30 21:18

1 Answers

There seems to be alias in csh, so it would be better to set it up with .cshrc.
For example,

 aliasll "ls-lFh --color=auto"

and so on, the command ll.

ll~/

You can also use it with arguments as shown in .


2022-09-30 21:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.