summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--zprofile2
-rw-r--r--zshrc2
2 files changed, 2 insertions, 2 deletions
diff --git a/zprofile b/zprofile
index e77496f..30d8d2a 100644
--- a/zprofile
+++ b/zprofile
@@ -1,3 +1,3 @@
export ZSH_BASE="${HOME}/dotfiles"
-source $ZSH_BASE/zsh/ssh.zsh
+[ -f /.dockerenv ] && source $ZSH_BASE/zsh/ssh.zsh
diff --git a/zshrc b/zshrc
index 5f5c743..9ecb75c 100644
--- a/zshrc
+++ b/zshrc
@@ -13,12 +13,12 @@ hash -d d=${HOME}/docker
[[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] && source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
source $ZSH_BASE/antigen/antigen.zsh
-source $ZSH_BASE/zsh/ssh.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
+[ -n "${WSL_DISTRO_NAME+1}" ] && source $ZSH_BASE/zsh/ssh.zsh
antigen use oh-my-zsh
antigen bundle git