yadm-dev / yadm

Yet Another Dotfiles Manager
https://yadm.io/
GNU General Public License v3.0
5.15k stars 177 forks source link

linux file being linked on darwin #478

Closed xenoterracide closed 8 months ago

xenoterracide commented 11 months ago

This issue is about

Describe the issue

specifically this line

Creating /Users/ccushing/.profile from template /Users/ccushing/.config/yadm/alt/.profile##template,os.Linux,e.sh

in the following output

Creating /Users/ccushing/.config/yadm/bootstrap from template /Users/ccushing/.config/yadm/alt/.config/yadm/bootstrap##template,e.sh
Linking /Users/ccushing/.config/yadm/alt/.config/yadm/bootstrap.d/00-package-manager.sh##os.Darwin,e.sh to /Users/ccushing/.config/yadm/bootstrap.d/00-package-manager.sh
Creating /Users/ccushing/.gitconfig from template /Users/ccushing/.config/yadm/alt/.gitconfig##template,e.ini
Linking /Users/ccushing/.config/yadm/alt/.pg_service.conf##os.Darwin to /Users/ccushing/.pg_service.conf
Creating /Users/ccushing/.profile from template /Users/ccushing/.config/yadm/alt/.profile##template,os.Linux,e.sh
Creating /Users/ccushing/.zshenv from template /Users/ccushing/.config/yadm/alt/.zshenv##template,os.Linux,os.Darwin,e.zsh
Creating /Users/ccushing/.zshrc from template /Users/ccushing/.config/yadm/alt/.zshrc##template,e.zsh
+ command -v gh
+ gh auth setup-git
❯ ls -la
total 20
drwxr-xr-x  9 ccushing staff  288 Dec 30 14:38 .
drwxr-xr-x 10 ccushing staff  320 Dec 30 14:42 ..
drwxr-xr-x  3 ccushing staff   96 Nov  7 12:00 .config
-rw-r--r--  1 ccushing staff  826 Dec 22 09:00 .gitconfig##template,e.ini
-rw-r--r--  1 ccushing staff    0 Nov  7 12:00 .pg_service.conf##os.Darwin
-rw-r--r--  1 ccushing staff  249 Dec 30 14:40 .profile##template,os.Darwin,e.zsh
-rw-r--r--  1 ccushing staff  474 Dec 30 14:40 .profile##template,os.Linux,e.sh
-rw-r--r--  1 ccushing staff  362 Nov  7 12:00 .zshenv##template,os.Linux,os.Darwin,e.zsh
-rw-r--r--  1 ccushing staff 1168 Dec 22 15:53 .zshrc##template,e.zsh
❯ uname -a
Darwin OF060M2Q74FVGQP 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 arm64 arm Darwin

here's a deeplink to the actual full source, I should really write a readme but off the top of my head you either need to be using manjaro linux or have brew plus xcode on mac

https://github.com/xenoterracide/dotfiles/tree/d1dd0cadc725bff5e06c5261f7678f1abeebe842/.config/yadm/alt

future commits don't have this problem, especially after I moved that from a template to a link

❯ yadm --version
bash version 3.2.57(1)-release
 git version 2.39.3 (Apple Git-145)
yadm version 3.2.2
github-actions[bot] commented 9 months ago

This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 8 months ago

This issue was closed because it has been labeled as stale for 7 days with no activity.