diff --git a/zsh/.zshenv b/zsh/.zprofile similarity index 53% rename from zsh/.zshenv rename to zsh/.zprofile index ab22f04..294025c 100644 --- a/zsh/.zshenv +++ b/zsh/.zprofile @@ -1,9 +1,8 @@ -source ~/.config/.env -source ~/.config/.env.system -source ~/.config/.aliases +export XDG_DATA_DIRS="$HOME/.nix-profile/share:/usr/local/share/:/usr/share/" path+=("${HOME}/scripts") path+=("${HOME}/.local/bin") +path+=("${HOME}/.cargo/bin") export PATH eval `keychain --eval --quiet --agents ssh,gpg id_rsa` diff --git a/zsh/.zshrc b/zsh/.zshrc index 7d1a415..17ae3a3 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -18,6 +18,10 @@ colors PROMPT="%{$fg_bold[yellow]%}%* %{$fg_bold[cyan]%}%d %(?.$fg_bold[green]✓.$fg_bold[red]%?) %(3L.$fg_bold[red]%L .)%{$fg_bold[yellow]%}%%%{$reset_color%} " +source ~/.config/.env +source ~/.config/.env.system +source ~/.config/.aliases + source $HOME/.config/zsh/key-bindings.zsh bindkey "^[[H" beginning-of-line