Skip to content

Commit 5f117b0

Browse files
Add sublf configuration file
modified: home/.bash_aliases_private new file: home/.sublf_config.sh
1 parent 73340ed commit 5f117b0

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

home/.bash_aliases_private

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,8 @@ TERMINAL_TAB_CMD_07="cd \"$HOME/GS/dev\"; ls; echo -e \"\n===== Let\x27s get rea
126126
# size build/bin/path/to/my/executable1; \
127127
# echo "$ size build/bin/path/to/my/executable2" && \
128128
# size build/bin/path/to/my/executable2'
129+
130+
# TODO: finish this thought; I haven't finished testing or developing this little blob or idea.
131+
# This requires this script: "eRCaGuy_dotfiles/useful_scripts/sublf.sh"
132+
# See also my answer on `find`: https://stackoverflow.com/a/69830768/4561887
133+
# alias sublf_custom='sublf -not \( -path "./build*" -prune \)'

home/.sublf_config.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This file is part of eRCaGuy_dotfiles: https://github.com/ElectricRCAircraftGuy/eRCaGuy_dotfiles
2+
3+
# This is a configuration file which accompanies the script
4+
# named "eRCaGuy_dotfiles/useful_scripts/sublf.sh".
5+
6+
# Append any arguments to this array which you'd like to pass to the underlying `find` command used
7+
# in `eRCaGuy_dotfiles/useful_scripts/sublf.sh`! This is especially useful to exclude certain
8+
# folders in the search path.
9+
#
10+
# For the most-correct `find -not`... syntax, see:
11+
# 1. https://stackoverflow.com/a/16595367/4561887
12+
# 2. and my answer here: https://stackoverflow.com/a/69830768/4561887
13+
14+
additional_find_args_or_excludes=() # create array
15+
16+
# Append your custom arguments
17+
18+
# additional_find_args_or_excludes+=(-not \( -path "*/.git/*" -prune \))
19+
# additional_find_args_or_excludes+=(-not \( -path "./build/*" -prune \))
20+
# additional_find_args_or_excludes+=(-not \( -path "./output*" -prune \))
21+
# additional_find_args_or_excludes+=(-not \( -path "*/some/other/dir_to_exclude/*" -prune \))

0 commit comments

Comments
 (0)