Zsh Mailing List Archive
Messages sorted by:
Re: multiple OSes
- X-seq: zsh-users 12168
- From: Michael Hernandez <sequethin@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: multiple OSes
- Date: Thu, 1 Nov 2007 12:24:11 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=le7EXVn3yrIneB+06PN/m1naPh/NFvIX4r3MIdln32I=; b=ILA/MbBOprmNtVdBr50aUHxoWHzxmBt+KnFBpQYOy8T7W4hrS10NWu95DpsB6AmJmlz5DzInC/yISiyYQiV1J4JAUaeKUGKgiJ+TgQof41PQdXQIbGSCT7kQvUbYH5rXekc61tp6IDguVq3pW2xy1bsPfb/sLOl6gAnGKWf5uXQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=iiSmKiwHUATLkqTRv4Dl4j8ja8al+nXN4Ea4EOUFlmTHU54bH5zeMQ2wHeAlbUpqdLCrPZxM1b6Lif43/bdBndZm8Ugt9P9/Augb7GGr7qmQEGoPdBu+VGcAVLpktN+p5/XHNaca0uzhfJWNF40eJiMNYYSyd6TAeSRxfRV+l/s=
- In-reply-to: <23405.1193932961@thecus>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071101093453.40647.qmail@xxxxxxxxxxx> <23405.1193932961@thecus>
On Nov 1, 2007, at 12:02 PM, Oliver Kiddle wrote:
Atom Smasher wrote:
i recently had the misfortune being assigned to a project on
Give it time and you might find it isn't so bad once you get used to
I wouldn't condemn the whole OS just because you need to add a few
things to the default path and don't get a manpath command.
but i'm not here to complain, i'm here to ask a question to those
who use zsh on more than one OS: what's in your ~/.zshrc to set
differently for different OSes?
I tend to setup the path separately for different systems
also, i've got this in my ~/.zshrc:
alias rm="rm -i" # safety first!
In my opinion, this is a very unsafe thing to do. You get used to
option, then one day when you have to use a system that lacks your
personal settings, you will lose some files because you were going to
type no for the files you wanted. It's better to call your alias
something else like ri and get used to it.
which causes a problem on solaris... instead of:
rm -rf /junk
i have to do this:
command rm -rf /junk
You can do:
\rm -rf /junk
Any quoting on an alias prevents alias expansion.
wrt to the path what I do is blank out the PATH var and rebuild it
based on directories I know tend to be available on the OSes I use
(netbsd, freebsd, ubuntu, os x)
paths=( /bin /usr/bin /usr/pkg/bin /usr/local/bin /sbin /usr/sbin /usr/
local/sbin /usr/pkg/sbin /usr/X11R6/bin /usr/games /opt/local/bin /opt/
for temp_path in $paths
if [[ -d $temp_path ]]
if [[ $PATH == "" ]]
unset paths temp_path
this way I keep my path tidy and zsh doesn't bother looking in dirs
that don't exist.
Messages sorted by: