Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Using script to find location of global rcs files.
- X-seq: zsh-users 23847
- From: Jim <linux.tech.guy@xxxxxxxxx>
- To: zsh <zsh-users@xxxxxxx>
- Subject: Using script to find location of global rcs files.
- Date: Sat, 26 Jan 2019 06:55:34 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=aEC03/bUfqQcjSuHlGK/jhPMqrk4sNXgKxmMQfzaSbo=; b=mKASf2kaQXRYyOm97pf1K/JY8MwumFnTqrl6e2hdFkds3k6dYsudKru6wfyYIiYkN3 lHDhG9nUrnlTrdVfTpzp/UdhclPf7nkZnXNPW2JAnWf1vrvicUD4ElmNwYVyVPoYSOHg +q7L78gX/ngIuJJJghissqB3oQz/S3kfAnpEy5Ze/Zn+VpbQX7c6BcKdptvUCzxkVUVK ZvPqUkrskeWZSywEJIt2CQJa67mJoikyQSQgTD0eo5SRWJhukvl0rA64BxfP2LNTXNxz tkdmFUIvyqLVfEV2a/wgVRslLLbzRvNBvWrVZmOSStsWDjC05fNMlU1Jqa3ehkhZIDLA PEZQ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Reply-to: linuxtechguy@xxxxxxxxx
Hi everyone,
The manual states that the location of the global rcs files defaults to
¨/etc/¨, but on the distributions I´m using the default is ¨/etc/zsh/¨. I
want
to determine this location in a script, but so far I haven´t found a ¨zsh¨
option or variable to do this. I currently check the results of:
strings ${whence zsh) | egrep -i ´/etc/.*z[spl].*[tvecn]´
Does anyone know a better way of determining the location of ¨etcdir¨?
Thanks,
Jim
Messages sorted by:
Reverse Date,
Date,
Thread,
Author