https://github.com/qbit/ohmyksh Skip to content Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} qbit / ohmyksh Public * Notifications * Fork 9 * Star 170 * A framework for OpenBSD's ksh License ISC license 170 stars 9 forks Branches Tags Activity Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights qbit/ohmyksh This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main BranchesTags Go to file Code Folders and files Name Name Last commit message Last commit date Latest commit History 78 Commits .static/css .static/css completions completions extensions extensions lib lib prompts prompts .gitignore .gitignore LICENSE LICENSE README.org README.org ohmy.ksh ohmy.ksh View all files Repository files navigation * README * ISC license ohmyksh About Have your cake and eat it too! ohmyksh is a framework for expanding OpenBSD's ksh. It offers: completions for common things like man pages, ssh known_hosts and git (and got!) commands. extensions to import bulk functionality, including git-prompt, OpenBSD specific tooling, disabling color.. etc. prompts a decent selection of useful, minimal prompts. Completions Name Completes git add, fetch... got add, blame... gopass audit, config... man man pages mpc play, load, toggle... rc OpenBSD rc scripts and rc commands ssh ssh known hosts vmd vmctl commands and VM names ogvt reminders for ogvt (-pub, -sig, -file) Extensions Name Description fonts Load fonts from common locations. fzf Set of interactive wrappers for things like packages and shell history. git-prompt A port of git-prompt for KSH. got Adds PS1 support for got, as well as a few helper functions. k A tool to quickly change directories. keychain Wrapper for Funtoo's Keychain utility. nocolor Disable terminal color options for many tools. openbsd A set of tools for working with the OpenBSD source trees. pkgup Utility to speed up OpenBSD' pkg_add(1). Prompts Name Example Extensions used q qbit@litr[0]:~$ git-prompt, got plain litr:~/src/ohmyksh/prompts$ - og-openbsd $ - 9 % - Example usage # ohmyksh needs to know where it lives, so we tell it via this env var: OHMYKSH_DIR=${HOME}/src/ohmyksh # Now we can load everything up! . ${OHMYKSH_DIR}/ohmy.ksh # All the paths we use (in order!) set -A my_paths -- \ /usr/ports/infrastructure/bin \ ~/bin \ ~/go/bin \ /usr/local/plan9/bin paths "${my_paths[@]}" # Load our various extensions load_extension fonts load_extension k load_extension nocolor load_extension openbsd # Load handy completions for various things load_completion ssh load_completion vmd load_completion rc load_completion gopass load_completion git alias vi=vim # the q prompt auto-loads the git-prompt extension set_prompt q Contributing Contributions can be sent in via Github PRs or via emailing a patch to ~qbit/ohmyksh@lists.sr.ht. If you do send in a contribution, please include a .org file which describes the feature set. The org syntax is available here, however, one will likely be able to just copy an existing file and modify it. About A framework for OpenBSD's ksh Topics shell openbsd ksh ohmyksh Resources Readme License ISC license Activity Stars 170 stars Watchers 8 watching Forks 9 forks Report repository Releases No releases published Packages 0 No packages published Contributors 4 * @qbit qbit Aaron Bieber * @bijanebrahimi bijanebrahimi bijan * @felix felix Felix Hanley * @rjc rjc Languages * Shell 98.0% * CSS 2.0% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.