Giter Club home page Giter Club logo

puppet-zsh's Introduction

ZSH Puppet Module for Boxen

Build Status

Installs zsh and makes it your default shell. For justice.

Usage

include zsh

Required Puppet Modules

  • boxen
  • homebrew
  • osx
  • stdlib

Developing

Write code.

Write code. Run script/cibuild. Send Pull Requests.

puppet-zsh's People

Contributors

wfarr avatar salimane avatar jacobbednarz avatar rodjek avatar

Stargazers

 avatar Seiei Miyagi avatar Sean Knox avatar Penn Su avatar Jayson Basañes avatar

Watchers

Hubot avatar James Cloos avatar  avatar

puppet-zsh's Issues

Where is the best place to source /opt/boxen/env.sh?

(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?

Invalid resource type osx_chsh

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?

zsh not added as the default shell, or in the /etc/shells

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 )

Configuration

How would one configure a theme with this module?

Installation error

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.