aboutsummaryrefslogtreecommitdiff
path: root/src/cli/install_completions_command.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-04-19Fix broken autocompleteGravatar Jarred Sumner 1-4/+4
2023-02-26fix ANSI escape codes piped from `stdout` to file (#2202)Gravatar Alex Lam S.L 1-1/+1
2023-02-24prefer `bun.copy()` over `std.mem.copy()` (#2152)Gravatar Alex Lam S.L 1-6/+6
2023-02-23Upgrade Zig (#2151)Gravatar Dylan Conway 1-15/+15
* fixup * Upgrade Zig * Remove bad assertion * strings * bump * mode -> optimize * optimize * Linux build * Update bindgen.zig
2023-01-16Fix `getFdPath` when `/proc/fd` is not mountedGravatar Jarred Sumner 1-1/+1
2023-01-13move more thingsGravatar Jarred SUmner 1-4/+4
2023-01-13Split some things into more files and use bun namespace instead of import moreGravatar Jarred SUmner 1-1/+1
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-22/+21
* @min and @max * builtins and some trivial ones * Most of them * more * more! * More Progress * wip * Update tagged_pointer.zig * Update http_client_async.zig * Most of the iterable dir changes * alright * Remove usages of deprecated formatters * :camera: * fmt * Update shimmer.zig * wip * wip * wip * progress * more * Latest * stuck on error * latest * workaround stage2 * wip * Update string_immutable.zig * wip * Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings * Fix build errors * Fixup most of the test failures * Fix `make headers` * Fix "outside package path" error * Fixup aligned alloc * Add missing file * linux * More linux fixes * use latest peechy * Fix transpiler test failure * Forgot about these * Fixup test failure * Update node-timers.test.ts * [node:htt] Fix `undefined is not an object` error Fixes https://github.com/oven-sh/bun/issues/1618 * Update http.exports.js * Make this test less flaky * fix hashes * Fix hex formatting and zls issues * Download zig version * Update Dockerfile * Update Dockerfile * Update uws * Update Dockerfile * Set llvm version * Update README.md * Update uws * Update Dockerfile * Update io_linux.zig * Update bun.zig * Log output * workaround strange @cInclude error * Make ffi tests better * Don't use cImport * Update c.zig * Update c-bindings.cpp * call setOutputDir * Update Dockerfile * Use a longer name * latest * Update serve.test.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-12-21[bunx] Install symlink with completionsGravatar Jarred Sumner 1-10/+65
@colinhacks lmk if you have ideas where else it should attempt to isntall: 1) same dir as `bun` 2) $BUN_INSTALL/bin/bunx 3) $HOME/.bun/bin/bunx 4) $HOME/.local/bin/bunx
2022-12-04Mildly faster startup timeGravatar Jarred Sumner 1-16/+16
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-5/+5
2022-07-25Support for completion in Bash (#403)Gravatar Victory Osikwemhe 1-6/+52
* Add bash completions for optional flags (long and short options) * extend bash completion to support options with specific requirements * fix: remove global variables * fix: rename cur_file to cur_word * add c,rm,i aliases * fix: add --help flag to create alias * fix: --loader options bug * fix --backend and linting * linting * add support for file completion for `bun run` as well as few changes also * chore(): use _ as prefix for function names * fix undefined function * feat(wip): implement installation for bash bun completion in zig * fix(): use separate paths instead of slice of paths * rename _bun.bash to bun.completion.bash for compatability with oh-my-bash * change `bun.completion.bash` to filename
2022-07-10Remove unnecessary `Output.flush`s before `Global.exit` and `Global.crash` ↵Gravatar r00ster91 1-6/+0
(#535) * fix: add missing newline * refactor: std.process.exit -> Global.exit * fix: std.os.abort -> Global.exit I'm not sure about this one. Please verify. * cleanup: remove unnecessary `Output.flush`s
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-1/+1
2022-03-17query_string_map -> urlGravatar Jarred Sumner 1-1/+1
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-13/+13
2022-03-04upgrade zigjarred/upgrade-zig-2Gravatar Jarred Sumner 1-3/+3
2022-02-27WASMGravatar Jarred Sumner 1-3/+3
2022-02-11`std.os.`exit -> `Global.exit` so stderr is always flushedGravatar Jarred Sumner 1-9/+9
2022-01-03dead codeGravatar Jarred Sumner 1-2/+0
2022-01-02copy: replace Bun with bun (#99)Gravatar luke miles 1-2/+2
Most CLI tools have the style convention of referring to themselves in lowercase. It is, after all, the name that users type in when using the tool. This PR maintains that convention in bun. "Drop the uppercase B, it's cleaner"
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-22/+22
* Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md
2021-12-27Prepare to run unit tests & remove some dead code (#92)Gravatar Jarred Sumner 1-1/+1
* Remove some dead code * :skull: code * Fix the zig tests * [JS Printer] Print integers faster & less scientific notation on decimals * :skull: dead code * skip * Run all the unit tests
2021-12-18Delete synchronous HTTP client!Gravatar Jarred Sumner 1-1/+0
2021-11-07[zsh] Better zsh completions install dir guessingGravatar Jarred Sumner 1-29/+26
2021-11-01[CLI] Fix completions auto-installer for zshGravatar Jarred Sumner 1-0/+388