Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Functions in system init scripts
- X-seq: zsh-users 13349
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Functions in system init scripts
- Date: Sun, 19 Oct 2008 14:10:59 -0700
- In-reply-to: <719461.93862.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <719461.93862.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Oct 19, 11:10am, Daniel Qarras wrote:
}
} > One way to fix this is to make your terminal emulator
} > execute the shells as login shells (gnome-terminal can do that IIRC).
}
} True, thanks for the tip (although this doesn't sound optimal as xterm
} would still be unfixed).
You can also put something like this in your ~/.zshenv file:
# Force most interactive shells to be login shells
[[ -t 0 && -o interactive && -o shinstdin ]] && setopt login
You can add a test for various values of $TERM, etc., as needed.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author