From 453594fd2a912a68a042a03eea7423fd651b54dd Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 14 Mar 2024 15:31:52 +0100 Subject: [PATCH] Add filename to catall abbr --- .config/fish/conf.d/abbr_arch.fish | 2 +- .config/fish/conf.d/abbr_wsl.fish | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/fish/conf.d/abbr_arch.fish b/.config/fish/conf.d/abbr_arch.fish index 4f738b9..1e04506 100644 --- a/.config/fish/conf.d/abbr_arch.fish +++ b/.config/fish/conf.d/abbr_arch.fish @@ -5,6 +5,6 @@ abbr vs "codium ." abbr xclip "xclip -selection clipboard" abbr spotx "bash -c 'bash <(curl -sSL https://spotx-official.github.io/run.sh) -ce'" abbr rm "trash -f" -abbr catall "find . -name '*.ext1' -o -name '*.ext2' | xargs cat | xclip -selection clipboard" +abbr catall "find . -name '*.ext1' -o -name '*.ext2' -exec echo "File: {}" \; -exec cat {} \; | xclip -selection clipboard" abbr ls "eza --git --icons -gl" abbr pdf "firefox *.pdf & disown" diff --git a/.config/fish/conf.d/abbr_wsl.fish b/.config/fish/conf.d/abbr_wsl.fish index 0c61e2a..131c617 100644 --- a/.config/fish/conf.d/abbr_wsl.fish +++ b/.config/fish/conf.d/abbr_wsl.fish @@ -3,5 +3,5 @@ abbr unison "unison ~/src ~/u_dest" abbr vs "code ." abbr wgcc x86_64-w64-mingw32-gcc abbr rm "rm -rf" -abbr catall "find . -name '*.ext1' -o -name '*.ext2' | xargs cat | clip.exe" +abbr catall "find . -name '*.ext1' -o -name '*.ext2' -exec echo "File: {}" \; -exec cat {} \; | clip.exe" abbr ls "eza --git -gl"