diff options
| author | Paul Buetow <paul@buetow.org> | 2025-04-24 21:21:36 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-04-24 21:21:36 +0300 |
| commit | eb15e5bd18a537901430d407f37595c846e67dfe (patch) | |
| tree | 5f90fd0a72c9fa9ed05a13bc145c2fbf78699052 | |
| parent | 519cb1fe507511db24475b89475548c9ede2e4d3 (diff) | |
Update
| -rw-r--r-- | dotfiles/fish/conf.d/quickedit.fish | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dotfiles/fish/conf.d/quickedit.fish b/dotfiles/fish/conf.d/quickedit.fish index db414d2..4bf0cd3 100644 --- a/dotfiles/fish/conf.d/quickedit.fish +++ b/dotfiles/fish/conf.d/quickedit.fish @@ -36,7 +36,14 @@ function quickedit end cd $QUICKEDIT_DIR - set -l file_path (find -L . -type f -not -path '*/.*' | grep "$grep_pattern" | fzf) + set -l file_path ( + find -L . -type f \ + \( -name "*.txt" -o -name "*.md" -o -name "Makefile" \ + -o -name "*.xml" -o -name "*.json" \) \ + -not -path '*/.*' \ + | grep "$grep_pattern" \ + | fzf + ) $EDITOR $file_path quickedit::postaction $file_path |
