elvish_config/aliases/aliases.elv

26 lines
1.2 KiB
Plaintext

edit:add-var aspire~ {|@argv| e:wget -r -k -E -np $@argv }
edit:add-var cat~ {|@argv| e:bat -pp --tabs 2 $@argv }
edit:add-var cp~ {|@argv| e:cp -iv $@argv }
edit:add-var curl~ $e:curlie~
edit:add-var df~ $e:duf~
edit:add-var diff~ $e:delta~
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 --dir-order last --sort name --layout inverted $@argv }
#edit:add-var erd~ $-erd~
edit:add-var grep~ {|@argv| e:grep --color=tty -d skip $@argv }
#edit:add-var grep~ {|@argv| e:ack $@argv }
edit:add-var hx~ {|@argv| e:helix $@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~ {|@argv| /home/benjamin/bin/rename $@argv }
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 }
edit:add-var wget~ {|@argv| e:wget2 $@argv }