BSD Ports

shells/switchBashZsh 1.3 MidnightBSD

Portable shell setup for Bash/Zsh across FreeBSD/Linux/Cygwin

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
235dc2bfd7
License
bsd2
Categories
shells

Description

You want your shell stuff to work the same way even when you use a different shell, or even a different box. Right?

If you use switchBashZsh you can attain at least most of what you desire, perhaps even all. You can log out of Bash and log in with Zsh (or vice versa) - and your aliases/exports/functions will continue to work as before.

It gets better - if someday you need to use a different box with a different OS, you can get your shell to work your 'normal' way in a jiffy. Just save your $HOME/.shell directory on your primary box, and paste it over your second box's $HOME/.shell (after running switchBashZsh setup script on the second box). The second box need not be the same operating system - switchBashZsh works across FreeBSD / Linux / Cygwin.

In the other systems

The newest version among them is 1.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDshells/switchBashZsh1.3 newestno data-[email protected]2026-11-04
FreeBSDshells/switchBashZsh1.3_1 newestnone known-[email protected]-
DragonFlyshells/switchBashZsh1.3_1 newestnone known-[email protected]-
HardenedBSDshells/switchBashZsh1.3_1 newestno data-[email protected]-
GhostBSDshells/switchBashZsh1.3_1 newestno data-[email protected]-

Version history 2

  1. 1.3 235dc2bfd7
  2. 1.3 1ed0f9823e

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install switchBashZsh

From mports:

cd /usr/mports/shells/switchBashZsh && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	switchBashZsh>0:shells/switchBashZsh

Dependencies

No port depends on this one.

Files

distinfo 1
FileSizeSHA256
bourne-again-switchBashZsh-1.3_GH0.tar.gz59543f5b28d72965e72aa5fb6ece31eedc59fe96bf1ee18bef8a41842182871cdfde

Commit history 3

DateCommitCreditsLog message
235dc2bfd7 Lucas Holt Restore ports tree accidentally deleted by Rails PR #2213 (#2232)
Restore the 63,146 unrelated files accidentally deleted when malformed Rails PR #2213 was merged. Retain the intended databases/rubygem-activemodel81 update to 8.1.4.1. Verified the repaired tree has all 63,148 tracked files. Compared with master before #2213 (141a9523ba), only databases/rubygem-activemodel81/Makefile and distinfo differ. The update itself was already built, packaged and hash-verified. The cause was preparing sparse worktrees with an empty index. The remaining Rails branches are receiving corrective commits, with explicit final-tree and per-port diff validation before push. This recovery changes no port semantics beyond the intended ActiveModel update. Signed-off-by: Lucas Holt <[email protected]>
1123a1dfb9 Lucas Holt databases/rubygem-activemodel81: update to 8.1.4.1 for security fixes (#2213)
Update databases/rubygem-activemodel81 to 8.1.4.1. Part of the coordinated Rails security update addressing the 21 advisories published November 4, 2026. Preserve this port's existing Rails release series; update all version-linked component ports together. Validation on MidnightBSD 4.0.9 amd64, Ruby 3.3.11: official release SHA256 matches the supplied announcement; MIT license unchanged; makesum, patch, build, fake including gem dependency QA, and package passed. Portlint: zero fatal errors (existing advisories only). Runtime dependency gems were isolated under /tmp; NO_DEPENDS=yes prevented installing host packages, so mport dependency installation/closure itself was not tested. Targeted security validation for the Rails 8.1 release: twelve …
1ed0f9823e Lucas Holt shells: port 33 shells and utilities from FreeBSD (plus 7 prerequisites) (#2196)
## Summary Port 33 missing shells and shell utilities from FreeBSD ports into `shells/`, along with 7 prerequisite ports in `devel/`, `lang/`, and `textproc/`. ### Prerequisites Added (7) - `devel/p5-Data-Dump-Streamer` - `devel/p5-Term-Screen` - `devel/p5-Tree-Trie` - `devel/schilybase` - `devel/smake` - `lang/chez-scheme` - `textproc/p5-YAML-Syck` ### Shells & Utilities Added (33) - `shells/antibody` - `shells/bash-completion-zfs` - `shells/bicon` - `shells/bosh` - `shells/carapace` - `shells/git-prompt.zsh` - `shells/ion` - `shells/iris` - `shells/meka` - `shells/modernish` - `shells/murex` - `shells/nsh` - `shells/nu_plugin_formats` - `shells/nu_plugin_gstat` - `shells/nu_plugin_inc` - `shells/nu_plugin_polars` - `shells/nu_plugin_query` - `shells/ohmyzsh` …