Mase3206 / dotfiles

Humble dotfiles
The Unlicense
0 stars 0 forks source link

Add detection for unset DOTFILES_DIR environment variable #2

Closed Mase3206 closed 2 months ago

Mase3206 commented 2 months ago

Right now, it will fail awkwardly, complaining about how it doesn't know what kind of file the source file to link is, as it tries to find it at the root directory.

What happens:

error ln: Source file /.oh-my-zsh/themes/terse.zsh-theme has an unknown type. Cancelling

What should happen:

Creating symlink: /home/nroberts/GitHub/dotfiles/.oh-my-zsh/themes/terse.zsh-theme -> /home/nroberts/.oh-my-zsh/themes/terse.zsh-theme... done.
Mase3206 commented 2 months ago

Fixed in #4.