From 3b887240d1d9189be7f4adf75f3e71277b7ca833 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Sat, 22 Feb 2025 10:11:38 +0530 Subject: after fixing some boot problems --- .config/shell/profile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to '.config/shell/profile') diff --git a/.config/shell/profile b/.config/shell/profile index 51111c1..c981fbc 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -97,19 +97,14 @@ export FZF_DEFAULT_OPTS=" # export GTYPIST_OPTS="--color 3,0 --banner-colors 0,2,4,1" # green-yellow export GTYPIST_OPTS="--color 6,0 --banner-color 0,4,5,1" # blue-cyan -# # path -# find -L ~/.local/share/gem/ruby/3.0.0/bin ~/.local/bin ~/bin \ -# -type d ! -wholename '*/.st*' | -# while read -r dir; do -# [ "$PATH" = "${PATH#*"$dir"}" ] && export PATH="$dir:$PATH" -# done - if [ "$PATH" = "${PATH#*"$HOME/.local/bin"}" ]; then _build_path() { find -L "$@" -type d ! -wholename '*/.st*' ! -wholename '*.git*' -printf '%p:'; } [ -d ~/bin ] && export PATH="$(_build_path ~/bin)$PATH" [ -d ~/.local/bin ] && export PATH="$(_build_path ~/.local/bin)$PATH" - export PATH="$PATH:$XDG_DATA_HOME/gem/ruby/3.0.0/bin" - export PATH="$PATH:$HOME/Applications/flutter/bin" + for dir in \ + "$XDG_DATA_HOME/gem/ruby/3.0.0/bin" \ + "$GOPATH/bin" + do [ -d "$dir" ] && export PATH="$PATH:$dir"; done fi [ -n "$TERMUX_VERSION" ] && { -- cgit v1.2.3