Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Problem with user function



After installing .oh-my-zsh, I get this error msg, which I didn't
while running plain zsh.

.zshrc:92: defining function based on alias `ls'
.zshrc:92: parse error near `()'

The errors refer to a few functions that I use to take notes:

n() {$EDITOR ~/notes/${1}.txt}
l() {$PAGER ~/notes/${1}.txt}
nls() {ls --group-directories-first -c --color ~/notes/${1} }

I would appreciate some help as I'm not a zsh hacker, but merely an
unsophisticated user. TIA ..
--
Duke




Messages sorted by: Reverse Date, Date, Thread, Author