From afce96110d508b17ed5d6aa7101037af5b807057 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 15 Aug 2022 20:21:20 +0200 Subject: [PATCH] add countlines --- arch.sh | 1 + wsl.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/arch.sh b/arch.sh index e36d77c..314e364 100644 --- a/arch.sh +++ b/arch.sh @@ -100,6 +100,7 @@ then fish -c "abbr d 'nautilus . -w &> /dev/null & disown'" fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'" fish -c "abbr gc 'git clone'" + fish -c "abbr cl 'cat src/*.* src/*/*.* | sed \'/^\s*$/d\' | wc -l'" # Fish by default in terminal app profil=$(gsettings get org.gnome.Terminal.ProfilesList list) gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${profil:2:-2}"/ use-custom-command true diff --git a/wsl.sh b/wsl.sh index 391e2d1..c3e9e0f 100644 --- a/wsl.sh +++ b/wsl.sh @@ -90,6 +90,7 @@ then fish -c "abbr d 'explorer.exe .'" fish -c "abbr gc 'git clone'" fish -c "abbr tlmgr 'sudo \$(which tlmgr)'" + fish -c "abbr cl 'cat src/*.* src/*/*.* | sed \'/^\s*$/d\' | wc -l'" # === Micro == cd /usr/local/bin || exit