From: Ray Andrews <rayandrews@eastlink.ca>
To: Zsh Users <zsh-users@zsh.org>
Subject: 32 or 64
Date: Wed, 21 Dec 2016 11:15:20 -0800 [thread overview]
Message-ID: <ddc5b344-1489-f23b-c46a-5e17949bf54c@eastlink.ca> (raw)
Gentlemen:
Now that I have both 32 bit and 64 bit versions of various binaries,
whereas I used to just store them in a /Bin directory which is on my
path, now, if I'm jumping back and forth between 32 bit Debian and 64
bit Debian, whereas previously different installs could share the same
/Bin directory (all being 32 bit previously) now I hafta be able to
distinguish 32 from 64, so I'm thinking to symlink /Bin to either /Bin32
or /Bin64 and I'm wondering if there might be a simple way for zsh to
make that link for me based on knowing if either itself, or the kernel
is 32 or 64 bit. I could test the output of 'uname -r' of course, but
I'd not be surprised if zsh can do it more elegantly and robustly than
checking for substrings in the kernel name.
next reply other threads:[~2016-12-21 19:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-21 19:15 Ray Andrews [this message]
[not found] <ddc5b344-1489-f23b-c46a-5e17949bf54c__41077.1772302271$1482347804$gmane$org@eastlink.ca>
2016-12-21 19:33 ` Daniel Shahaf
2016-12-21 20:24 ` Ray Andrews
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ddc5b344-1489-f23b-c46a-5e17949bf54c@eastlink.ca \
--to=rayandrews@eastlink.ca \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).