Giter Club home page Giter Club logo

Comments (7)

jamesob avatar jamesob commented on July 29, 2024

Hmm... In the test script, we actually test this case explicitly: https://github.com/jamesob/desk/blob/master/test/run_tests.sh#L44

Your platform may differ from the Docker environment, though. What OS and shell are you running on?

from desk.

mungler avatar mungler commented on July 29, 2024

OS X 10.11.1, default installed shell (bash)

from desk.

jamesob avatar jamesob commented on July 29, 2024

I'm unable to repro on Ubuntu 14.04:

 $ ls -lah ~/.desk
lrwxrwxrwx 1 job job 32 Oct 28 10:33 /home/job/.desk -> /home/job/Dropbox/code/desk_conf
 $ bash --version
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
 $ [ ! -d "/home/job/.desk/" ] && echo "uhoh"
 $ 

I've got an OS X machine at home I'll try with tonight.

from desk.

mungler avatar mungler commented on July 29, 2024

Hmm, interesting:

rory@Eddie:~ $ ls -lah ~/.desk
lrwxr-xr-x  1 rory  staff    33B 16 Nov 14:25 /Users/rory/.desk -> /Users/rory/Dropbox/dotfiles/desk
rory@Eddie:~ $ bash --version
GNU bash, version 4.3.39(1)-release (x86_64-apple-darwin14.4.0)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
rory@Eddie:~ $ [ ! -d "/Users/rory/.desk" ] && echo "uh oh"
rory@Eddie:~ $ 
rory@Eddie:~ $ desk
No desk activated.

No desk dir! Run 'desk init'.

from desk.

jamesob avatar jamesob commented on July 29, 2024

Could it be that you've got either DESK_DIR or DESK_DESKS_DIR set to some path that may not exist?

from desk.

mungler avatar mungler commented on July 29, 2024

No, definitely didn't set any of the env vars.

On 16 Nov 2015, at 18:07, jamesob [email protected] wrote:

Could it be that you've got either DESK_DIR or DESK_DESKS_DIR set to some path that may not exist?


Reply to this email directly or view it on GitHub.

from desk.

jamesob avatar jamesob commented on July 29, 2024

@mungler I'd try modifying the script to see if you can get it to work, then we'll work backwards from there. I'll try to repro tonight.

from desk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.