irongit

feat: smart rust executable symlink to ~/.local/bin

huncholanehuncholaneauthored
parent c088b6acommit aeea2e97cfa9aacf38114ef69bc12d47083873f0Browse files

2 files changed, +38 -7

+0-7before_plugins.sh
@@ -4,13 +4,6 @@ export PATH="$PATH:$HOME/.local/share/solana/install/active_release/bin"
44 export PATH="$HOME/.local/share/fnm:$PATH"
55 export PATH="$PATH:/usr/local/flutter/bin"
66
7-# Set up a cached file as a subprocess with all the home rust debug paths in it
8-(
9- mkdir -p ~/.cache
10- fd -I -c never -E 'doc' -E 'package' --full-path 'target/debug$' ~ | tr '\n' ':' >~/.cache/RUST_DEBUG_PATHS
11-)
12-[ -f ~/.cache/RUST_DEBUG_PATHS ] && RUST_DEBUG_PATHS="$(cat ~/.cache/RUST_DEBUG_PATHS)" && export PATH="$PATH:$RUST_DEBUG_PATHS"
13-
147 # Add environments
158 [ -f ~/.fzf.zsh ] && . ~/.fzf.zsh
169 [ -f ~/.cargo/env ] && . "$HOME/.cargo/env"