From df50cf1c622ce215ac6f477938ef33243ad96f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Uruba?= Date: Sun, 28 Mar 2021 11:54:28 +0200 Subject: [PATCH] .zshenv -> .zprofile --- zsh/{.zshenv => .zprofile} | 5 ++--- zsh/.zshrc | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) rename zsh/{.zshenv => .zprofile} (53%) 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