cresset-template / cresset

Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
MIT License
715 stars 41 forks source link

Updates for `zsh`. #123

Closed veritas9872 closed 1 year ago

veritas9872 commented 1 year ago

Remove hackish HOME inside the Dockerfile and replace it with ZDOTDIR, the official variable for configuring the zsh configuration directory.

Also remove unnecessary WORKDIR commands and replace explicit /bin/zsh with $(which zsh) where possible. Still cannot use zsh installed from conda.