summaryrefslogtreecommitdiffstatshomepage
path: root/zshrc
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-05-11 13:49:01 -0500
committerToby Vincent <tobyv13@gmail.com>2021-05-11 13:49:01 -0500
commit472a90047abbaeec80f4c332304017769ab31699 (patch)
treed42ff6141c47647bbc0c795bd321f6601502a2fc /zshrc
parentb9de0b04f56d7f54ced14231db0599d5adc2bef6 (diff)
refactor: moved posix stuff to shell sourced from zsh
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc21
1 files changed, 7 insertions, 14 deletions
diff --git a/zshrc b/zshrc
index 9d9ad4a..26eabd1 100644
--- a/zshrc
+++ b/zshrc
@@ -1,22 +1,15 @@
-# Path
-path=( $path $HOME/.local/bin $HOME/.dotnet/tools )
-
-# Exports
-export ZSH_BASE="${HOME}/dotfiles"
-export FZF_BASE="${HOME}/dotfiles/fzf"
+source "${DOTFILES:="${HOME}/dotfiles"}/shell/profile.sh"
# Directory hashtable
hash -d .=${HOME}/dotfiles
-hash -d s=${HOME}/Sync
-hash -d d=${HOME}/docker
-source $ZSH_BASE/antigen/antigen.zsh
-source $ZSH_BASE/zsh/setopt.zsh
-source $ZSH_BASE/zsh/prompt.zsh
-source $ZSH_BASE/zsh/aliases.zsh
-source $ZSH_BASE/zsh/keybindings.zsh
-[ -n "${WSL_DISTRO_NAME+1}" ] && source $ZSH_BASE/zsh/wsl.zsh
+source $DOTFILES/antigen/antigen.zsh
+source $DOTFILES/zsh/setopt.zsh
+source $DOTFILES/zsh/prompt.zsh
+source $DOTFILES/zsh/aliases.zsh
+source $DOTFILES/zsh/keybindings.zsh
+[ -n "${WSL_DISTRO_NAME+1}" ] && source $DOTFILES/zsh/wsl.zsh
antigen use oh-my-zsh
antigen bundle git