Skip to content

Commit 0f7ab4e

Browse files
committed
path and rsf
1 parent 3a07189 commit 0f7ab4e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

bashrc/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ rspec_show_affected_files() {
193193
echo "# ";
194194

195195
for file in $(git show --pretty="format:" --name-only "$@" | \grep -v '^$'); do
196-
if [[ "$file" == spec/* ]]; then
196+
if [[ "$file" == spec/* ]] && [[ "$file" == *_spec.rb ]]; then
197197
(( f++ ))
198198
export "$GIT_ENV_CHAR"$f="$file";
199199
echo -e "# \033[2;37m[\033[0m$f\033[2;37m]\033[0m $file";

bashrc/path.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77
# But they do need to come before mise shims
88
export PATH="${PATH}:./node_modules/.bin"
99

10-
# Mise
11-
export PATH="${PATH}:$HOME/.local/share/mise/shims"
10+
# NPM Global
11+
export PATH="$HOME/.npm-global/bin:${PATH}"
12+
13+
# Mise (Must come before existing PATH so we prioritize shims)
14+
export PATH="$HOME/.local/share/mise/shims:${PATH}"
1215

1316
# Homebrew
1417
export PATH="/opt/homebrew/bin:${PATH}"

0 commit comments

Comments
 (0)