diff --git a/fake_home/.vim/templates/skeleton.js b/fake_home/.vim/templates/skeleton.js index dd3b435..07bfecc 100644 --- a/fake_home/.vim/templates/skeleton.js +++ b/fake_home/.vim/templates/skeleton.js @@ -7,18 +7,17 @@ document.addEventListener('DOMContentLoaded', function initJs () { // skeleton-script.js +// See: https://bun.sh/docs/runtime/shell #!/usr/bin/env bun -// See: https://bun.sh/docs/runtime/shell - -import { $ } from "bun"; +import { $ } from 'bun' const lines = $`ls`.lines() -for await (let line of lines) { - console.log(line); +for await (const line of lines) { + console.log(line) } const lineArray = await Array.fromAsync(lines) -console.log(lineArray.filter(s => s.startsWith("D"))) +console.log(lineArray.filter(s => s.startsWith('D'))) diff --git a/fake_home/.zshrc b/fake_home/.zshrc index 8a25334..acb830c 100644 --- a/fake_home/.zshrc +++ b/fake_home/.zshrc @@ -274,6 +274,8 @@ export nvm_loaded=false alias nvm="load_nvm; nvm" alias npm="load_nvm; npm" alias node="load_nvm; node" +alias standard="load_nvm; standard" +alias lf="load_nvm; standard --fix" function load_nvm { if $nvm_loaded; then