feklee / dbx-tools

Command line tools to interact with Dropbox
Do What The F*ck You Want To Public License
8 stars 1 forks source link

dbx-cd doesn't work properly #2

Open gine opened 5 years ago

gine commented 5 years ago

An example:

$ dbx-ls Sync su NAS/ Cartella del team xxx SNC/ commerciale/ Proter xxx su Dropbox/ Outlook/

$ dbx-cd commerciale

$ dbx-pwd Current directory not in $DBX_HOME

$ echo $DBX_HOME /home/xxx/Code/02_xxx/test/dbx-tools/xxx

$ dbx-ls Sync su NAS/ Cartella del team xxx SNC/ commerciale/ Proter xxx su Dropbox/ Outlook/

--

I have edited this line in init.sh from:

DOT_DIR="$HOME/.dbx-tools"

to:

DOT_DIR="$HOME/Code/02_xxx/test/.dbx-tools"

I suggest you to permit to set DOT_DIR by export.

feklee commented 5 years ago

Thanks for the bug report!

The issue appeared after you changed DOT_DIR in init.sh, correct? Can you also show the output of pwd?