dotly icon indicating copy to clipboard operation
dotly copied to clipboard

Dot command error

Open usarral opened this issue 1 year ago • 3 comments

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

usarral avatar May 08 '23 10:05 usarral

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.

gtrabanco avatar May 08 '23 11:05 gtrabanco

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!

jacarrara avatar Jun 30 '23 04:06 jacarrara

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 😅

jmcerrejon avatar Sep 07 '23 06:09 jmcerrejon