ShannonBoy
asked on
ALIASES sourcing .cshrc file
i would like to know how to setup an alias that will go from the current directory to home dir and source the .cshrc file and return to the original working directory
eg.
I'm in /Home/MyDirectory
to source, I need to go to the /Home directory
and then I want to go back to /Home/MyDirectory automatically.
eg.
I'm in /Home/MyDirectory
to source, I need to go to the /Home directory
and then I want to go back to /Home/MyDirectory automatically.
alias setup 'pushd /Home;source .cshrc;popd'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ozo your comment doesnt work sorry...
but vulkanr solved it excellent, thank bud!!!
but vulkanr solved it excellent, thank bud!!!