aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zshrc
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-11-05 15:46:29 -0500
committerToby Vincent <tobyv13@gmail.com>2021-11-05 15:46:29 -0500
commita8dc1eff5b02e0e53012bebc39c8df5745274bc9 (patch)
treebdd6ee5ae3fa971dad0d38ec42fa468e82db5a12 /zshrc
parent7d9ee40dee9813ac305d3cb4f280d2f9623f21fd (diff)
fix: fixed issue with wt startup dir (again)
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/zshrc b/zshrc
index da3ea4a..51de715 100644
--- a/zshrc
+++ b/zshrc
@@ -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