diff options
author | Toby Vincent <tobyv13@gmail.com> | 2021-11-05 15:46:29 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2021-11-05 15:46:29 -0500 |
commit | a8dc1eff5b02e0e53012bebc39c8df5745274bc9 (patch) | |
tree | bdd6ee5ae3fa971dad0d38ec42fa468e82db5a12 /zshrc | |
parent | 7d9ee40dee9813ac305d3cb4f280d2f9623f21fd (diff) |
fix: fixed issue with wt startup dir (again)
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ #!/usr/bin/env zsh -[ "$PWD" = '/mnt/c/Windows' ] && cd + if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" @@ -10,6 +10,7 @@ export DOTFILES="${HOME}/dotfiles" # Directory hashtable hash -d .=${HOME}/dotfiles +[ -n "${WSL_DISTRO_NAME+1}" ] && source $DOTFILES/zsh/wsl.zsh source $DOTFILES/shell/env.sh source $DOTFILES/zsh/plugins.zsh source $DOTFILES/zsh/setopt.zsh @@ -17,4 +18,3 @@ source $DOTFILES/zsh/prompt.zsh source $DOTFILES/zsh/aliases.zsh source $DOTFILES/zsh/completions.zsh source $DOTFILES/zsh/keybindings.zsh -[ -n "${WSL_DISTRO_NAME+1}" ] && source $DOTFILES/zsh/wsl.zsh |