dotfiles/README.md

44 lines
1.4 KiB
Markdown
Raw Normal View History

2023-07-14 22:39:37 +02:00
# Remarks
## Symlinks
`.config/*` should be copied or linked **into** `~/.config`
`.ssh/config` should be linked to `~/.ssh/config`
`.p10k.zsh` must be linked or copied to `~/.p10k.zsh`
`.tmux.conf` must be linked or copied to `~/.tmux.conf`
`.zshrc` must be linked or copied to `~/.zshrc`
`neofetch.conf` must be linked or copied to `/etc/neofetch.conf`
`.taskrc` should be linked or copied to `~/.taskrc` to work properly `.task` must be copied or linked to `~/.task`
## Fonts for p10k
`fonts` needs to be installed manually
## tmux
### Plugin and Theme Installation
Start `tmux` and press `<prefix>` (`ctrl+y`) followed by `I` (capital i) to install plugins and theme.
### Sessions
Sessionscripts in `tmux` might only work properly with `.ssh/config`
## Fixes
### Docker-Autocompletion
`docker-autocompletion` might report `compinit:501: no such file or directory: /usr/share/zsh/vendor-completions/_docker`. The file is a symlink to `/mnt/wsl/docker-desktop/cli-tools/usr/share/zsh/vendor-completions/_docker` which doesn't exist if Docker-Desktop isn't running. A workaround is to replace the symlink with an copy of the real file:
```
sudo rm -rf /usr/share/zsh/vendor-completions/_docker
sudo cp /mnt/wsl/docker-desktop/cli-tools/usr/share/zsh/vendor-completions/_docker /usr/share/zsh/vendor-completions/
sudo chattr +i /usr/share/zsh/vendor-completions/_docker
```