From dca041c4479766f2a68e63c2da19b7f34a491dc8 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Wed, 20 Mar 2024 12:54:48 +0000 Subject: [PATCH] Update ZSHRC --- .zprofile | 3 +++ .zshrc | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/.zprofile b/.zprofile index e69de29..24d160b 100644 --- a/.zprofile +++ b/.zprofile @@ -0,0 +1,3 @@ + +# Created by `pipx` on 2024-03-20 01:03:28 +export PATH="$PATH:/home/nexus/.local/bin" diff --git a/.zshrc b/.zshrc index ff6336e..bcec9dc 100644 --- a/.zshrc +++ b/.zshrc @@ -1,4 +1,12 @@ export SUDO_PROMPT="$(tput bold setaf 7)[sudo]$(tput sgr0) $(tput setaf 6)password for$(tput sgr0) $(tput setaf 5)%p$(tput sgr0): " +if [[ -d "$HOME/.local/bin" ]]; then + export PATH="$HOME/.local/bin:$PATH" +fi; + +if [[ -d "$HOME/.cargo/bin" ]]; then + export PATH="$HOME/.cargo/bin:$PATH" +fi; + plugins=(git sudo rsync zsh-syntax-highlighting zsh-autosuggestions) if [ -f $HOME/.pyenv/bin/pyenv ]; then export PYENV_ROOT="$HOME/.pyenv" @@ -25,3 +33,4 @@ export LANG=en_GB.UTF-8 export EDITOR=nvim export ARCHFLAGS="-arch x86_64" export GPG_TTY=$(tty) +