Skip to content

Commit af3c9fb

Browse files
committed
Fix .exports in runcom
1 parent a7d6015 commit af3c9fb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

runcom/.bash_profile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ PATH="$DOTFILES_DIR/bin:$PATH"
2323

2424
# Source the dotfiles (order matters)
2525

26-
for DOTFILE in "$DOTFILES_DIR"/system/.{function,function_*,n,path,env,exports,alias,fzf,grep,prompt,completion,fix,pnpm,zoxide}; do
26+
[ -f "$DOTFILES_DIR/system/.exports" ] && . "$DOTFILES_DIR/system/.exports"
27+
28+
for DOTFILE in "$DOTFILES_DIR"/system/.{function,function_*,n,path,env,alias,fzf,grep,prompt,completion,fix,pnpm,zoxide}; do
2729
. "$DOTFILE"
2830
done
2931

@@ -33,7 +35,6 @@ if is-macos; then
3335
done
3436
fi
3537

36-
3738
# Set LSCOLORS
3839

3940
eval "$(dircolors -b "$DOTFILES_DIR"/system/.dir_colors)"

system/.fix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
eval $(thefuck --alias fix)
1+
is-executable thefuck && eval $(thefuck --alias fix)

0 commit comments

Comments
 (0)