diff options
Diffstat (limited to '.config/shell')
-rw-r--r-- | .config/shell/aliasrc | 2 | ||||
-rw-r--r-- | .config/shell/bm-dirs | 3 | ||||
-rw-r--r-- | .config/shell/profile | 13 |
3 files changed, 7 insertions, 11 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 489f66d..7325729 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -17,7 +17,7 @@ alias lf='lfcd' alias rs='exec $SHELL' alias sr='ff ~/.config ~/.local/bin ~/bin' -alias uc='cd ~ && gitpush' +alias uc='cd ~ && gitpush' # update config alias gpu='gitpush' lt() { tree -aC --dirsfirst -I "$IGNORE_GLOB" "$@" | less -F; } diff --git a/.config/shell/bm-dirs b/.config/shell/bm-dirs index 11f3852..cf9de6c 100644 --- a/.config/shell/bm-dirs +++ b/.config/shell/bm-dirs @@ -18,8 +18,8 @@ lbn ~/.local/bin bn ~/bin sd ~/sdcard rp ~/repos +an ~/Android ap ~/Applications -ad ~/Arduino dv ~/Dev cm ~/Dev/cloud-maker cs ~/Dev/sites/csstudent41.github.io @@ -50,4 +50,5 @@ usr ${PREFIX:-/usr} ush /usr/share usd /usr/share/doc usha /usr/share/applications +tmp /tmp tmu /tmp/mozilla_${USER}0 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" ] && { |