diff --git a/aliases/addbadips.elv b/aliases/addbadips.elv index 38c4ba4..3b63b11 100644 --- a/aliases/addbadips.elv +++ b/aliases/addbadips.elv @@ -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 } } diff --git a/aliases/aliases.elv b/aliases/aliases.elv index 05f0561..74fc1ab 100644 --- a/aliases/aliases.elv +++ b/aliases/aliases.elv @@ -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 } diff --git a/rc.elv b/rc.elv index ef72496..b9d5319 100644 --- a/rc.elv +++ b/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 {