zsh-users
 help / color / mirror / code / Atom feed
* Newbie/aliases disappearing?
@ 1998-06-27  7:42 Gossamer
  1998-06-27 15:25 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Gossamer @ 1998-06-27  7:42 UTC (permalink / raw)
  To: zsh-users


Having just swapped from Bash to Zsh (seduced by the programmable
completion, mostly!) I have RTFM'd enough to get things more-or-less
working.  This includes a bundle of aliases and shell functions to
do ... well, lots of stuff.

Trouble is, they seem to unset themselves!  I have them in ~/.zshrc
and straight after I log in everything is  fine, but after a while
when I go to use one of these aliases I get "zsh: command not found".

Logging out then back in again always fixes it ... for a while.

I haven't been able to figure out quite what makes this happen, but
I'll keep trying.

Oh, and the same thing doesn't  seem to happen with the shell
functions.


Gossamer

-- 
: Gossamer - gossamer@tertius.net.au - http://www.tertius.net.au/~gossamer/
: Imagination was given to man to compensate him for what he is not; a
: sense of humor to console him for what he is.  -- Francis Bacon


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Newbie/aliases disappearing?
  1998-06-27  7:42 Newbie/aliases disappearing? Gossamer
@ 1998-06-27 15:25 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 1998-06-27 15:25 UTC (permalink / raw)
  To: Gossamer, zsh-users

On Jun 27,  5:42pm, Gossamer wrote:
} Subject: Newbie/aliases disappearing?
}
} [... aliases] seem to unset themselves!  I have them in ~/.zshrc
} and straight after I log in everything is  fine, but after a while
} when I go to use one of these aliases I get "zsh: command not found".

Try putting

	disable unalias disable

at the end of your .zshrc, and then while you use the shell, watch for
one of -those- to be reported as not found.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-06-27 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-27  7:42 Newbie/aliases disappearing? Gossamer
1998-06-27 15:25 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).