RECENT POSTS
- Introduction to FreeBSD Security Best Practices
- Working with Package Management in FreeBSD
- Understanding FreeBSD Security Advisories and Updates
- Troubleshooting Common System Administration Issues in FreeBSD
- Tips for Hardening FreeBSD to achieve System Protection
- Setting Up DHCP Server in FreeBSD
- Secure User and Group Management in FreeBSD Systems
- Secure Remote Access with SSH in FreeBSD
- Optimizing System Performance in FreeBSD
- Network Packet Capture with tcpdump in FreeBSD
- All posts ...
Do you have GDPR compliance issues ?
Check out Legiscope a GDPR compliance software, that will save you weeks of work, automating your documentation, the training of your teams and all processes you need to keep your organisation compliant with privacy regulations
Poshinit
Jul 20, 2023
Portable shell setup for Bash/Zsh across FreeBSD/Linux/Cygwin
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 poshinit Portable Shell Initialization, 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 poshinit setup script on the second box. The second box need not be the same operating system - poshinit works across FreeBSD / Linux / Cygwin.
WWW https//github.com/bourne-again/poshinit
- Older
- Newer
Checkout these related ports:
- Zsh - The Z shell
- Zsh-syntax-highlighting - Fish shell syntax highlighting for Zsh
- Zsh-navigation-tools -
- Zsh-completions - Additional completion definitions for Zsh
- Zsh-autosuggestions - Fish-like autosuggestions for Zsh
- Zsh-antigen - Tool for managing Zshell plugins inspired by Vundle
- Yash - POSIX-compliant command line shell
- Xonsh - Python-ish BASH-wards shell
- Wcd - Command-line program to change directory fast
- Vshnu - New Visual Shell
- Viewglob - GTK+ add-on to bash and zsh
- V7sh - Implementation of the UNIX 7th Edition shell
- Tcshrc - Set of configuration scripts for the TCSH shell
- Switchbashzsh - Portable shell setup for Bash/Zsh across FreeBSD/Linux/Cygwin
- Starship - Cross-shell prompt for astronauts