From 9d91d22cb63e4344a80e1f2ff65b08d107b4c881 Mon Sep 17 00:00:00 2001 From: Benjamin VAUDOUR Date: Sat, 1 Jan 2022 13:05:36 +0000 Subject: [PATCH] =?UTF-8?q?grep=20est=20d=C3=A9sormais=20un=20alias=20de?= =?UTF-8?q?=20ack=20+=20correction=20des=20options=20timidity=20par=20d?= =?UTF-8?q?=C3=A9faut=20+=20variables=20d=E2=80=99environnement=20pour=20P?= =?UTF-8?q?erl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aliases/aliases.elv | 5 +++-- rc.elv | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/aliases/aliases.elv b/aliases/aliases.elv index a290f80..d3b51ea 100644 --- a/aliases/aliases.elv +++ b/aliases/aliases.elv @@ -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 } diff --git a/rc.elv b/rc.elv index 3914414..4d1bdc2 100644 --- a/rc.elv +++ b/rc.elv @@ -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