reduce cl command size
This commit is contained in:
parent
afce96110d
commit
70d5918b89
2 changed files with 2 additions and 2 deletions
2
arch.sh
2
arch.sh
|
@ -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
2
wsl.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue