reduce cl command size

This commit is contained in:
Mylloon 2022-08-16 11:59:44 +02:00
parent afce96110d
commit 70d5918b89
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +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 -c "abbr cl 'cat 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

2
wsl.sh
View file

@ -90,7 +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'"
fish -c "abbr cl 'cat src/**.* | sed \'/^\s*$/d\' | wc -l'"
# === Micro ==
cd /usr/local/bin || exit