oksh
nix-darwin
oksh | nix-darwin | |
---|---|---|
8 | 39 | |
338 | 2,265 | |
- | - | |
4.4 | 8.7 | |
28 days ago | 5 days ago | |
C | Nix | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
oksh
- Oasis – a small, statically-linked Linux system
-
Faster Shell Startup with Shell Switching
David Korn's ksh93 was passed on to a new set of developers, who attempted to release a new version; AT&T rolled back these changes due to performance problems which raised questions of support status. It does appear that ksh93 development has resumed, and a new version was released late last year.
https://github.com/ksh93/ksh/releases
The independent pdksh spawned mksh, which is the default shell used in Android (as it has a BSD license); mksh appears to be very much active.
http://www.mirbsd.org/mksh.htm [https site has cert problems]
OpenBSD also forked oksh from pdksh. This is certainly well-maintained.
https://github.com/ibara/oksh
-
CVE-2022-45063: Xterm
I don't know if this is helpful or just annoying unsolicited "advice"
Anyway, for those of us who like openbsd ksh(all two of us) which is derived from pdksh. there is the project oksh.
https://github.com/ibara/oksh
-
What is a good alternative to Zsh?
I like oksh: https://github.com/ibara/oksh
-
OpenBSD 7.0 Released
...and that ksh descended from pdksh, and is distributed as the oksh portable project here:
https://github.com/ibara/oksh
The MirBSD Korn Shell also descended from pdksh, and it can be found here:
http://www.mirbsd.org/mksh.htm
I don't know about the feature differences and code quality between these two; they both implement most of ksh88, and a small amount of ksh93.
I prefer mksh when I need something more than a POSIX shell.
-
Which ksh is used in openbsd?
Brian Callahan publishes a portable version here: https://github.com/ibara/oksh
-
What goes into porting a program/library?
Porting from OpenBSD, look for the portable versions and their compat layer. https://github.com/ibara/oksh/blob/master/portable.h
nix-darwin
- Nix-Darwin: Nix modules for Darwin
-
My MacBook setup (the 2024 version)
Just a shout out to nix-darwin[1]. It is nix, so initial setup is a bit involved. But then it truly makes it easy to configure everything in one place including mac defaults, homebrew apps declaratively and mas apps etc.
There is a sample config in nix-darwin repo[2].
[1] https://github.com/LnL7/nix-darwin
[2] https://github.com/LnL7/nix-darwin/blob/master/modules/examp...
-
macOS Sonoma Broke Grep
https://github.com/LnL7/nix-darwin/tree/master/modules
-
What is the difference between NixOS and any other distro running the nix package manager?
nix-darwin does similar thing for MacOS
-
How to install a library globally using nix-env (or home manager) on macos?
You can use https://github.com/LnL7/nix-darwin
- Nix-Darwin
-
Issues with installing applications on Macos
There are many threads around where you can learn more about this (and why it's complicated...), but https://github.com/nix-community/home-manager/issues/1341 and https://github.com/LnL7/nix-darwin/issues/139 seem like two of the most comprehensive.
-
Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
Nix is pretty usable for both desktops and headless servers. Personally, I even use it on macOS without much trouble.
My system looks like any other install of Ventura, but all of my configuration, ranging from the terminal and VS Code to macOS-specific system preferences and Safari, is done declaratively in Nix [1]. The overwhelming majority of my installed software also comes from Nix packages, with some exceptions for stuff that is not packaged yet (e.g., I have Podman Desktop, the macOS ZFS port, Lulu, yubikey-manager-qt installed through Homebrew -- fortunately nix-darwin [2] also just lets me have an set of brews/casks in my config).
It was been a bit of a nightmare at first since the error messages are kind of horrific, and there can be a lack of good examples/docs on flakes. But I think the weekend worth of time I invested was worth it since I no longer need to rely on hacky shellscripts or remember to manually configure anything.
[1]: <https://github.com/nix-community/home-manager>
[2]: <https://github.com/LnL7/nix-darwin>
-
Beginner Question: Managing the global environment using Nix
Take a look at nix-darwin, this is what I use. It allows you to configure your system similar to NixOS including globally installed programs.
-
How to install Chrome on MacOS without homebrew?
This — I still use mas and brew —-cask through the nix-darwin module, though. It’s not exactly reproducible, but it’s at least closer to reproducible and declarative.
What are some alternatives?
loksh - A Linux port of OpenBSD's ksh
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
ksh - ksh 93u+m: KornShell lives! | Latest release: https://github.com/ksh93/ksh/releases
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
InitWare - The InitWare Suite of Middleware allows you to manage services and system resources as logical entities called units. Its main component is a service management ("init") system.
nix - Nix, the purely functional package manager
openbsd-src - jcs's openbsd hax
nixos-shell - Spawns lightweight nixos vms in a shell
cicada - An old-school bash-like Unix shell written in Rust
digga - A flake utility library to craft shell-, home-, and hosts- environments.
ast - AST - AT&T Software Technology
NUR - Nix User Repository: User contributed nix packages [maintainer=@Mic92]