From ab6ee7b92ecc105ceff1406d259fe5510eececf5 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 24 Jan 2022 00:27:57 +0530 Subject: made the path variables use $HOME not /home/zt --- .config/fish/config.fish | 17 ++++++++++------- .config/zsh/.zshenv | 14 +++++++------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 09a2e1e..0ec137c 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -17,17 +17,17 @@ if status is-interactive abbr --add --global x 'chmod +x' # general PATH - fish_add_path /home/zt/.scripts - fish_add_path /home/zt/.local/bin - fish_add_path /home/zt/.emacs.d/bin + fish_add_path $HOME/.scripts + fish_add_path $HOME/.local/bin + fish_add_path $HOME/.emacs.d/bin fish_add_path /usr/local/bin # PATH for different languages - fish_add_path /home/zt/.gopath - fish_add_path /home/zt/.local/flutter/bin + fish_add_path $HOME/.gopath + fish_add_path $HOME/.local/flutter/bin - set -x RUST_SRC_PATH /home/zt/.cargo - set -x GOPATH /home/zt/.gopath + set -x RUST_SRC_PATH $HOME/.cargo + set -x GOPATH $HOME/.gopath set -x QT_QPA_PLATFORMTHEME "gtk2" # default apps @@ -38,4 +38,7 @@ if status is-interactive set -x READER "librewolf" set -x COLORTERM "truecolor" set -x PAGER "bat" + + # disable greeting + set fish_greeting end diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index 05baa12..16fc43a 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -6,16 +6,16 @@ export READER="zathura" export COLORTERM="truecolor" export PAGER="bat" -export PATH=/home/zt/.scripts:$PATH -export PATH=/home/zt/.local/bin:$PATH -export PATH=/home/zt/.emacs.d/bin:$PATH +export PATH=$HOME/.scripts:$PATH +export PATH=$HOME/.local/bin:$PATH +export PATH=$HOME/.emacs.d/bin:$PATH export PATH=/usr/local/bin:$PATH -export RUST_SRC_PATH=/home/zt/.cargo -export PATH=/home/zt/.gopath:$PATH -export GOPATH="/home/zt/.gopath" -export PATH=/home/zt/.local/flutter/bin:$PATH +export RUST_SRC_PATH=$HOME/.cargo +export PATH=$HOME/.gopath:$PATH +export GOPATH="$HOME/.gopath" +export PATH=$HOME/.local/flutter/bin:$PATH export QT_QPA_PLATFORMTHEME=gtk2 export ZDOTDIR="$HOME/.config/zsh" -- cgit v1.2.3