-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Environment
- OS: Linux distribution
- Dotter version: dotter 0.13.2
- Additional relevant information
Description
nvim = "~/.config/nvim" in config instead of creating a directory symlink it creates folder nvim and symlinks every individual files of nvim/ directory. now if i create any new files or incase application creates any new config on their respective config directory, it won't store that new config on the .dotfiles/nvim directory.
Reproduction
global.toml
[helpers]
[default]
depends = []
[default.files]
dotter = ""
# nvim = "~/.config/nvim"
"zsh/zshrc" = "~/.zshrc"
"zsh/zsh_history" = "~/.zsh_history"
"zsh/oh-my-zsh" = "~/.oh-my-zsh"
test_dir = "~/.test_dir"
[default.variables]
[settings]
default_target_type = "symbolic"
local.toml
includes = []
packages = ["default"]
[files]
[variables]
file structure:
β ~ tree -L 2 .dotfiles
.dotfiles
βββ dotter
βββ nvim
βΒ Β βββ init.lua
βΒ Β βββ lazy-lock.json
βΒ Β βββ lazyvim.json
βΒ Β βββ LICENSE
βΒ Β βββ lua
βΒ Β βββ README.md
βΒ Β βββ stylua.toml
βββ zsh
βββ oh-my-zsh
βββ zsh_history
βββ zshrc
5 directories, 9 files]
Actual behavior
β .dotfiles git:(master) β ./dotter deploy
β .dotfiles git:(master) β cd ~
β ~ file .oh-my-zsh
.oh-my-zsh: directory
β ~ file .oh-my-zsh/plugins
.oh-my-zsh/plugins: directory
β ~ file .oh-my-zsh/oh-my-zsh.sh
.oh-my-zsh/oh-my-zsh.sh: symbolic link to /home/niamotullah/.dotfiles/zsh/oh-my-zsh/oh-my-zsh.sh
β ~ echo "something" > .oh-my-zsh/test
β ~ file .oh-my-zsh/test
.oh-my-zsh/test: ASCII text
β ~ file .dotfiles/zsh/oh-my-zsh/test
.dotfiles/zsh/oh-my-zsh/test: cannot open `.dotfiles/zsh/oh-my-zsh/test' (No such file or directory)
Expected behavior
β ~ rm -rf .oh-my-zsh
β ~ ln -s .dotfiles/zsh/oh-my-zsh .oh-my-zsh
β ~ file .oh-my-zsh
.oh-my-zsh: symbolic link to .dotfiles/zsh/oh-my-zsh
β ~ file .oh-my-zsh/oh-my-zsh.sh
.oh-my-zsh/oh-my-zsh.sh: ASCII text
β ~ file .oh-my-zsh/plugins
.oh-my-zsh/plugins: directory
β ~ echo "something" > .oh-my-zsh/test
β ~ file .oh-my-zsh/test
.oh-my-zsh/test: ASCII text
β ~ file .dotfiles/zsh/oh-my-zsh/test
.dotfiles/zsh/oh-my-zsh/test: ASCII text
``
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels