Add those lines into your zshrc and now every time you update you zshrc run: reload_zsh
and all you zsh sessions will be updated.
- for the first time you must source your zshrc manully otherwise they will terminated
function clear(x) { | |
return x.replaceAll(',', '-').replaceAll('\"', '-') | |
} | |
const header = 'Subject,All Day Event,Start Date,Start Time,End Date,End Time,Description,Location'; | |
copy(`${header}\n${[...document.querySelectorAll('.awsui-util-mb-xl')] | |
.map((event) => { | |
const [title, id] = event.querySelector('.awsui-util-mt-m').children | |
const description = event.querySelector('.sanitized-html').textContent | |
const table = event.querySelectorAll('[data-awsui-column-layout-root=true]')[0] |