Installs zsh and makes it your default shell. For justice.
include zsh
boxen
homebrew
osx
stdlib
Write code.
Write code. Run script/cibuild
. Send Pull Requests.
(Also opened at: boxen/our-boxen#329)
I had been loading /opt/boxen/env.sh
through .zshrc
. Today I spent a good deal of time determining why Pow (https://github.com/37signals/pow/) wasn't seeing my Boxen environment variables, and that's because .zshrc
is loaded only for interactive shell sessions, and Pow uses non-interactive sessions.
A quick fix was to move [ -f /opt/boxen/env.sh ] && source /opt/boxen/env.sh
into my .zshenv
file, which ensures that my Boxen environment is loaded no matter what. However, I noticed there's a slight lag when starting a new shell/zsh session—is sourcing /opt/boxen/env.sh
from .zshenv
the best option in this case?
I'm getting this error in line 21
I've simply added github "zsh", "1.0.0"
to the Puppetfile
and include zsh
in my site.pp
.
Am i missing something obvious?
Login shell is set to ${boxen::config::homebrewdir}/bin/zsh during setup, but is not removed during the nuke process, leaving the terminal unusable.
I don't see any way for libraries to hook into the boxen nuke process. This library might change the login shell back to bash and remove ${boxen::config::homebrewdir}/bin/zsh from /etc/shells . Any plans to add this capability?
hi there,
just installed zsh with boxen/puppet, the install runs fine, but it is not added to my /etc/shells nor activated by default.
i tried to add it in my personal conf file, but then it says that
Error: Duplicate declaration: Osx_chsh[jeromeloi] is already declared in file /opt/boxen/repo/shared/zsh/manifests/init.pp at line 21; cannot redeclare on node gorhtina.local Error: Duplicate declaration: Osx_chsh[jeromeloi] is already declared in file /opt/boxen/repo/shared/zsh/manifests/init.pp at line 21; cannot redeclare on node gorhtina.local
so i guess it tries to do so, but i don't get why it is not working
i also tried to add it manually but when i do the chsh -s /opt/boxen/homebrew/bin/zsh
it says no changes made
does anyone ran on the same issue ? (actually i have to rely on iterm startup to swith by default, that works but is not convinent for multiple installs
thanks for reading )
How would one configure a theme with this module?
When I add this repo to my Boxen config I get this error.
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type osx_chsh at /Users/evan/code/my-boxen/shared/zsh/manifests/init.pp:21 on node evan.local
My Puppetfile
has github "zsh", "1.0.0"
and my user module has include zsh
. By default, I get this error and nothing changes (the shell list or my default shell). If I remove osx_chsh
(and remove the zsh line from my Puppetfile), the new shell is successfully added to /etc/shells
, but I can't figure out how to get it to update my user's default shell.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.