On Mon, Apr 19, 2010 at 19:12, narendra sisodiya <
[email protected]> wrote:
> can somebody correct the error in this bashrc file ?
>
mdc() { mkdir -p "$1" && cd "$1"; }
Add the ";" at the end - it fixed the prob for me - I am not much into shell
scripting and am not sure how/why this affects the flow or the error even
;-)
>
> http://schoolos.svn.sourceforge.net/viewvc/schoolos/bashrc?revision=4&pathrev=4
>
> It says -- line 168 syntax error ,
>
> --
> ┌─────────────────────────┐
> │ Narendra Sisodiya ( नरेन्द्र सिसोदिया )
> │ Society for Knowledge Commons
> │ Web : http://narendra.techfandu.org
> └─────────────────────────┘
>
> --
> l...@iitd - http://tinyurl.com/ycueutm
>
--
Lots o' Luv,
Phani Bhushan
Let not your sense of morals prevent you from doing what is right - Isaac
Asimov (Salvor Hardin in Foundation and Empire)
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
--
l...@iitd - http://tinyurl.com/ycueutm
Subscription settings: http://groups.google.com/group/iitdlug/subscribe?hl=en