stup icon indicating copy to clipboard operation
stup copied to clipboard

Installation

Open iridakos opened this issue 4 years ago • 8 comments

Figure out and provide a handy installation process.

iridakos avatar Apr 12 '20 20:04 iridakos

lol, i clicked on the link from the README to land up in this issue page, expecting to find a major roadblock e.g. permissions issue in installation

why not just brew install stup or something?

evandrix avatar Apr 20 '20 15:04 evandrix

nvm, doesn't work on zsh/macos:

find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
date: illegal option -- -
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]```

not going to bother using then

evandrix avatar Apr 20 '20 15:04 evandrix

Hi @evandrix and thank you for the feedback. I have only tested it in bash but I will open an issue for making it work with zsh.

:+1:

iridakos avatar Apr 20 '20 18:04 iridakos

Unclear what the proper way to resolve this is, but it's probably just different date libraries on linux vs unix. OSX has coreutils as an option, but it'd have to be linked since it installs as gdate

EDIT: Meh, this works - unclear if there are better ways - certainly seems like it's been a recurring issue for years though, so there has to be something standard. https://github.com/haganbmj/stup/commit/3e66dbb5bb59b67abc8edf27bbcedbebcdde207d

haganbmj avatar Apr 27 '20 22:04 haganbmj

@haganbmj Thanks for the workaround! Unfortunately I can't test it in OSX. Did it work?

iridakos avatar Apr 28 '20 15:04 iridakos

@all-contributors please add @haganbmj for question.

iridakos avatar Apr 28 '20 17:04 iridakos

@iridakos

I've put up a pull request to add @haganbmj! :tada:

allcontributors[bot] avatar Apr 28 '20 17:04 allcontributors[bot]

apt/yum/brew ?

Tower450 avatar Sep 08 '20 19:09 Tower450