aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--zprofile3
-rwxr-xr-xzshrc3
2 files changed, 4 insertions, 2 deletions
diff --git a/zprofile b/zprofile
index d8a98b1..5be1665 100644
--- a/zprofile
+++ b/zprofile
@@ -2,10 +2,9 @@
export PATH="$PATH:${HOME}/.local/bin"
export PATH="$PATH:${HOME}/.dotnet/tools"
-export ZSH_BASE="${HOME}/dotfiles"
export FZF_BASE="${HOME}/dotfiles/fzf"
# Directory hashtable
-hash -d .=${ZSH_BASE}
+hash -d .=${HOME}/dotfiles
hash -d s=${HOME}/Sync
hash -d d=${HOME}/docker \ No newline at end of file
diff --git a/zshrc b/zshrc
index 7abd36b..dcb9602 100755
--- a/zshrc
+++ b/zshrc
@@ -1,3 +1,6 @@
+export ZSH_BASE="${HOME}/dotfiles"
+export FZF_BASE="${HOME}/dotfiles/fzf"
+
[[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] && source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
[ -n "${WSL_DISTRO_NAME+1}" ] && source $ZSH_BASE/zsh/wsl.zsh