내 dotfiles에 대한 심볼릭 링크를 만들려고합니다. (중앙 집중식 점 파일 저장소를 가질 수는 있지만) iTerm은 심볼릭 링크 된 파일을 읽지 않습니다. 기본적으로 별칭이나 다른 구성에 액세스 할 수 없습니다. 다음 그것을 반대 방법을 수행dotfiles에서 작동하도록 심볼릭 링크를 얻을 수 없습니다.
ln -s ~/.dot_file ~/Google\ Drive/Developer/git\ repositories/dotfiles/dot_file
나는 또한 시도했지만 : 내가 올바르게 사용하여 저장소 위치에서 홈 디렉토리에있는 링크와 실제 파일을 넣어 파일을 심볼릭 링크하고있어 믿고
저장소에는 링크의 파일 내용이 없습니다. aka :
touch ~/Google\ Drive/Developer/git\ repositories/dotfiles/dot_file
mv .dot_file ~/Google\ Drive/Developer/git\ repositories/dotfiles/dot_file
cd ~/Google\ Drive/Developer/git\ repositories/dotfiles
ln -s dot_file ~/.dot_file
나는이 기사를 참조했다.
- How to use Github to manage dotfiles?
- Using bash to automate dotfiles
- Using find on subdirectories and create symlinks to all files
- Symlinks not working when link is made in another directory?
도와주세요! :)
'ln -s REAL_FILE LINK'와 같은 페이지에있는 것은 매개 변수 순서입니다. 역순으로 처리하는 것 같습니다. –