Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dot command error #237

Open
usarral opened this issue May 8, 2023 · 3 comments
Open

Dot command error #237

usarral opened this issue May 8, 2023 · 3 comments

Comments

@usarral
Copy link
Contributor

usarral commented May 8, 2023

I has an error when I type the command dot, the fzf list is 0/0 and it outputs this error
image

That's on MacOs 13.3 on Warp and MacOs integrated Terminal

@gtrabanco
Copy link
Contributor

Please give us more context by show us your env DOTFILES_PATH and DOTLY_PATH folder

env | grep "^DOT"

Also check those folders exists if variables are defined:

[[ -G "$DOTFILES_PATH" ]] && echo "Dotfiles folder exists and owned by me"
[[ -G "$DOTLY_PATH" ]] && echo "Dotly folder exists and owned by me"

If variables are not defines check

[[ -f "${HOME}/.bashrc" ]] && echo "bashrc exists"
cat "${HOME}"/.bashrc

Please copy paste all outputs but remember to check and censorship private outputs like secrets variables content.

@jacarrara
Copy link

Hi! I had the same issue. The issue relies on the binaries or symlinks in ~/bin are not loaded.
If you write in your terminal find --version and you get an error, you are not using gfind.
Add in your .zshenv the next line:
export PATH="/Users/$USER/bin":$PATH

Regards!

@jmcerrejon
Copy link

jmcerrejon commented Sep 7, 2023

Same issue here. When I run dot I get Command not found.

OS: macOS Ventura 13.5.1
Shell: zsh

The file dotly.log shows:

----- 2023-09-07 08:04:37 - Installing dotly dependencies -----
Submodule 'modules/dotbot' (https://github.com/anishathalye/dotbot.git) registered for path 'modules/dotly/modules/dotbot'
Submodule 'modules/z' (https://github.com/rupa/z.git) registered for path 'modules/dotly/modules/z'
Cloning into '/Users/ulysess/.dotfiles/modules/dotly/modules/dotbot'...
Cloning into '/Users/ulysess/.dotfiles/modules/dotly/modules/z'...
fatal: unable to access 'https://github.com/rupa/z.git/': Failed to connect to github.com port 443 after 75006 ms: Couldn't connect to server
fatal: clone of 'https://github.com/rupa/z.git' into submodule path '/Users/ulysess/.dotfiles/modules/dotly/modules/z' failed
Failed to clone 'modules/z'. Retry scheduled
Cloning into '/Users/ulysess/.dotfiles/modules/dotly/modules/z'...
fatal: unable to access 'https://github.com/rupa/z.git/': Failed to connect to github.com port 443 after 19475 ms: Couldn't connect to server
fatal: clone of 'https://github.com/rupa/z.git' into submodule path '/Users/ulysess/.dotfiles/modules/dotly/modules/z' failed
Failed to clone 'modules/z' a second time, aborting
fatal: Failed to recurse into submodule path 'modules/dotly'

Note:

I re-run the install script and now It works 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants