aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-01-24 00:27:57 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-01-24 00:27:57 +0530
commitab6ee7b92ecc105ceff1406d259fe5510eececf5 (patch)
treea25da0b1d24e550bf27281e1892789281badd704
parentf33bdbbc18e031e5e9881d14fc306b709aef3572 (diff)
made the path variables use $HOME not /home/zt
-rw-r--r--.config/fish/config.fish17
-rw-r--r--.config/zsh/.zshenv14
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"