grep est désormais un alias de ack + correction des options timidity par défaut + variables d’environnement pour Perl

This commit is contained in:
Benjamin VAUDOUR 2022-01-01 13:05:36 +00:00
parent 1edc58d67b
commit 9d91d22cb6
2 changed files with 5 additions and 3 deletions

View File

@ -7,11 +7,12 @@ edit:add-var dig~ {|@argv| e:dig +noall +answer $@argv }
edit:add-var dogall~ {|@argv| e:dog A AAAA CNAME TXT MX NS SOA $@argv }
edit:add-var du~ {|@argv| e:du -h $@argv }
edit:add-var git~ $e:hub~
edit:add-var grep~ {|@argv| e:grep --color=tty -d skip $@argv }
#edit:add-var grep~ {|@argv| e:grep --color=tty -d skip $@argv }
edit:add-var grep~ {|@argv| e:ack $@argv }
edit:add-var mv~ {|@argv| e:mv -iv $@argv }
edit:add-var pf~ {|@argv| e:pkgfile -vri $@argv }
edit:add-var rm~ {|@argv| e:rm -Iv $@argv }
edit:add-var rename~ $e:go-rename~
edit:add-var timidity~ {|@argv| e:timidity -a -K 1 $@argv }
edit:add-var timidity~ {|@argv| e:timidity -a -K -1 $@argv }
edit:add-var tree~ {|@argv| e:tree -puhC --dirsfirst --du -D $@argv }
edit:add-var wget~ {|@argv| e:wget2 $@argv }

3
rc.elv
View File

@ -4,7 +4,8 @@ set-env EDITOR vim
set-env VIEW 'vim -R'
set-env CURRENT_SHELL 'elvish'
set-env STARSHIP_CONFIG ~/.config/starship/starship.toml
set @paths = $@paths /home/benjamin/bin /home/benjamin/Go/bin
set-env PERL5LIB /home/benjamin/perl5/lib/perl5
set @paths = $@paths /home/benjamin/bin /home/benjamin/Go/bin /home/benjamin/perl5/bin
{
use framagit.org/benjamin.vaudour/elv-lib/mods/list