zsh-users
 help / color / mirror / code / Atom feed
* 32 or 64
@ 2016-12-21 19:15 Ray Andrews
  0 siblings, 0 replies; 3+ messages in thread
From: Ray Andrews @ 2016-12-21 19:15 UTC (permalink / raw)
  To: Zsh Users

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <ddc5b344-1489-f23b-c46a-5e17949bf54c__41077.1772302271$1482347804$gmane$org@eastlink.ca>]

end of thread, other threads:[~2016-12-21 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-21 19:15 32 or 64 Ray Andrews
     [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

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).