1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-12-08 04:57:35 +00:00

fish: arista alias updates

This commit is contained in:
Phantop 2025-06-13 14:25:45 -04:00
parent 6c9e0e0fee
commit 6bd4df1060
2 changed files with 12 additions and 6 deletions

View file

@ -140,33 +140,39 @@ if type arista-python || type arista-ssh
a artic 'gb artic --schedule now'
a assh 'arista-ssh login -p google'
a bump 'gb commit -a --amend --no-edit'
a bug 'a reproduce --grabParams=--pool=any'
a clake 'curl -L http://joblog/$argv | copen -;:'
a cleansrc 'pushd /src; fgit status | grep untracked | string escape | cut -d\\\\ -f5 | xargs rm -r; popd'
a copen 'code -r'
a dt 'a dt'
a dut 'dt gd | head -n1 | cut -d/ -f3'
a expire 'a mts supersede -R "Tests scheduled by MATT have expired."'
a expireall 'ow curl -L aboard/api/v1/user/get_muts_brief/$USER | jq -r .[].name | parallel expire -p'
a expireall 'muts | parallel expire -p'
a freshen 'sudo swi freshen /images/EOS.swi'
a gb 'a git'
a job 'a reproduce -j'
a lake 'v http://joblog/$argv;:'
a gbc 'gb create eos-trunk -n (date +%Y-%m-%d)'
a job 'bug -j'
a lake 'curl -sL http://joblog/$argv;:'
a lunch 'gb launch --schedule build --testing none'
a logscan 'a job logscan --jobId'
a mock 'gb mock --schedule now'
a oc 'gnmi -addr (dut):6030 -username admin get / | tail -n+2'
a muts 'a mut status -u --json | jq -r .[].name[]'
a oc 'gnmi -addr (dut):6030 -username admin get /$argv | tail -n+2;:'
a pb 'curl -F c=@- pb/'
a prop 'ART_DISPLAY_PROPERTIES=$argv[1] dt info -s $argv[2] | grep $argv[1];:'
a pydt 'dt pyshell'
a reagent 'echo "edut.restartAgent(\'$argv\')" | pydt;:'
a rebase 'gb update --sync --rebase-topics'
a redt 'dt off $argv && dt on'
a rejects 'muts | parallel a mts show -s rejected -p'
a revdiff 'curl -L reviewboard/r/$argv/diff/raw'
a revfiles 'revdiff $argv | cut -f1 | sed -n "s|+++ |/|p";:'
a rmspec 'pushd /src; fgit status | grep untracked | string escape | cut -d\\ -f5 | xargs rm; popd'
a san 'echo "edut.cleanconfig()" | pydt'
a startoc 'dt ssh run "en ; conf ; management api gnmi ; transport grpc default"'
a tcam 'echo "edut.setTcamProfile(\'$argv\')" | pydt;:'
a trace 'lake $argv | trace.awk;:'
a topic 'gb checkout'
a vlake 'v http://joblog/$argv;:'
end
for i in (cut -d ' ' -f1 < ~/.config/qutebrowser/quickmarks)

View file

@ -1,8 +1,8 @@
function undeflate
fd -e jpg -e jpeg -x jpegoptim
fd -e png -x oxipng \; -x advpng -z0
fd -t f -x advzip -z0
fd -t f -x advdef -z0
fd -e pdf -x qpdf --stream-data=uncompress --replace-input --compress-streams=n --recompress-flate --compression-level=0 --optimize-images {}
fd -e \~qpdf-orig -x rm
fd -e png -x oxipng \; -x advpng -z0
end