Comments (7)
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.
OS X 10.11.1, default installed shell (bash)
from desk.
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.
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.
Could it be that you've got either DESK_DIR
or DESK_DESKS_DIR
set to some path that may not exist?
from desk.
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.
@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)
- Desk release v0.5.0 HOT 5
- #62 broke desk within tmux HOT 1
- not really an issue - HOT 1
- Prevent nested session HOT 3
- Ability to run a clean up script when exiting a desk session HOT 2
- desk installed from homebrew only lauches shell, doesn't execute deskfile HOT 6
- cmd_current which calls cmd_list doesn't print newline after showing desks. HOT 1
- desk doesn't seem to execute desk file at all HOT 1
- I ❤️ DESK! HOT 2
- autoreload desk on save.
- is there a way to start new terminal session with previous used desk session? HOT 2
- IntelliJ (phpstorm) error on desk open. HOT 1
- Having separate bash histories per desk? HOT 1
- Use of `sh -i` in desk run causes process suspension in pipelines HOT 2
- `get_running_shell` picks not-a-shell sometimes HOT 1
- `desk run` requires excessive escaping and silently discards additional arguments
- Description of aliases and functions are being duplicated
- Desk init does not work when using a custom location
- You can install desk with Awesome package manager
- desk fails to run when using warp terminal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desk.