Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I make a alias like :

alias a 'ct setview myview ;  cd /vobs/project/foo'

but this alias just partly works : it can set view , but it does not take me to /vobs/project/foo . so could you tell me why does this happen ?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Did you forgot a '='? alias a='ct setview myview ; cd /vobs/project/foo'

share|improve this answer

What about 'ct setview -exec' ?

share|improve this answer
    
This is really a comment, not an answer to the question. You can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Diogo Aug 10 '12 at 14:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.