Modification du répertoire de stockage des IPs, modification de l’aliase pour erd, ajout d’un alias pour trdsql
This commit is contained in:
parent
80082dd2af
commit
1c8457f7ec
|
@ -25,9 +25,9 @@ edit:add-var addbadips~ {|@argv|
|
|||
|
||||
var ip4 ip6 = (list:filter $ip:is-ip~ $argv | list:unzip {|_ ip| ip:is-ipv4 $ip})
|
||||
if (list:is-not-empty $ip4) {
|
||||
add $E:HOME/bad_ips.txt $ip:comp4~ $ip4 IPv4s
|
||||
add $E:HOME/ips/bad_ips.txt $ip:comp4~ $ip4 IPv4s
|
||||
}
|
||||
if (list:is-not-empty $ip6) {
|
||||
add $E:HOME/bad_ipsv6.txt $ip:comp6~ $ip6 IPv6s
|
||||
add $E:HOME/ips/bad_ipsv6.txt $ip:comp6~ $ip6 IPv6s
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,8 +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~
|
||||
fn -erd {|@argv| e:erd -HlI --dir-order last --sort name --layout inverted $@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 }
|
||||
|
@ -19,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 trdsql~ {|@argv| e:trdsql -ih -id ';' -omd $@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 }
|
||||
|
|
1
rc.elv
1
rc.elv
|
@ -11,6 +11,7 @@ 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-env QSV_SNIFF_DELIMITER 1
|
||||
set @paths = $@paths /home/benjamin/bin /home/benjamin/Go/bin /home/benjamin/perl5/bin
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue