Giter VIP home page Giter VIP logo

myemacs's Introduction

myemacs cookbook

The myemacs cookbook manages the configuration (i.e. the settings) but not the installation of Emacs according to my preferences.

Use this cookbook to provide a common Emacs experience across your favorite workstations.

Installation

There are two basic ways to use this cookbook:

  1. Manually execute the cookbook locally on the system in which you want to configure emacs
  2. Upload the cookbook to a Chef Server and configure it in the runlist of the desired nodes

Prerequisites

You'll need to do the following for either the Chef Server or local workstation use cases:

  • Install Berkshelf -- the easiest way to get Berkshelf is to simply install ChefDK.
  • Since this cookbook doesn't install Emacs, you should do this yourself either before or after configuring systems via this cookbook.

Local execution on your workstation

Let's say you're comfortable just running a few commands on a particular workstation where you need your Emacs configured. Just clone this repository and run the setup, as follows:

git clone https://github.com/adamedx/myemacs
cd myemacs
berks vendor cookbooks
chef-client -z -o myemacs

Alternatively, you can simply use Chef Client local mode to execute this cookbook's default recipe -- you'll need to be sure you've made all the cookbook dependencies available locally (e.g. via berks install) before you do this.

Upload to your Chef Server

You can upload this cookbook to your Chef Server with the following instructions, assuming you have configured Chef and Berkshelf tools for appropriate configuration of the server:

cd $YOUR_COOKBOOK_PATH
git clone https://github.com/adamedx/myemacs
cd myemacs
berks install
berks upload myemacs

Features

This cookbook provides the following capabilities

  • Allows you to keep a common Emacs configuration wherever you have Internet access
  • Configures a .emacs file with customizations from https://github.com/adamedx/myemacs.
  • Enables powershell-mode for PowerShell (.ps1) files
  • Enables markdown-mode for Markdown (.md) files
  • All features are supported on both Windows and Unix operating systems

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

myemacs's People

Contributors

adamedx avatar

Stargazers

 avatar

Watchers

 avatar

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.