From 6cc049dee476d384cea11a7f6c45ff2f3ead492f Mon Sep 17 00:00:00 2001 From: Benjamin VAUDOUR Date: Wed, 26 Apr 2023 10:29:20 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20erd=20+=20tree=20est=20d=C3=A9sorm?= =?UTF-8?q?ais=20un=20alias=20de=20erd=20+=20variable=20d=E2=80=99environn?= =?UTF-8?q?emnt=20node=20pour=20passer=20outre=20le=20probl=C3=A8me=20ssl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aliases/aliases.elv | 5 ++++- rc.elv | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/aliases/aliases.elv b/aliases/aliases.elv index 0c62fa4..05f0561 100644 --- a/aliases/aliases.elv +++ b/aliases/aliases.elv @@ -7,6 +7,8 @@ edit:add-var diff~ $e:colordiff~ 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 } +fn -erd {|@argv| e:erd -HlI --dirs-first $@argv } +edit:add-var erd~ $-erd~ #edit:add-var git~ $e:hub~ edit:add-var grep~ {|@argv| e:grep --color=tty -d skip $@argv } #edit:add-var grep~ {|@argv| e:ack $@argv } @@ -17,6 +19,7 @@ edit:add-var rm~ {|@argv| e:rm -Iv $@argv } edit:add-var rename~ $e:go-rename~ edit:add-var sudo~ {|@argv| fail 'Use doas instead'} 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 tree~ {|@argv| e:tree -puhC --dirsfirst --du -D $@argv } +edit:add-var tree~ $-erd~ edit:add-var ungron~ {|@argv| e:gron --ungron $@argv } #edit:add-var wget~ {|@argv| e:wget2 $@argv } diff --git a/rc.elv b/rc.elv index e8e648d..ef72496 100644 --- a/rc.elv +++ b/rc.elv @@ -10,6 +10,7 @@ set-env VISUAL 'nvim -R' set-env CURRENT_SHELL 'elvish' set-env STARSHIP_CONFIG ~/.config/starship/starship.toml set-env PERL5LIB /home/benjamin/perl5/lib/perl5 +set-env NODE_OPTIONS --openssl-legacy-provider set @paths = $@paths /home/benjamin/bin /home/benjamin/Go/bin /home/benjamin/perl5/bin {