Git Product home page Git Product logo

ihsec's Introduction

ihsec

What?

(ˈaɪzək)

It’s an acronym. I hate switching emacs configs. That’s it.

Dependencies

All you need is bash, All you need is bash, All you need is bash, bash. Bash is all you need – John Lennon

And git too, almost forgot about that. Unless you won’t use ihsec to install configs, then sure, skip git, it’s your life.

Installation

git clone https://github.com/daedreth/ihsec.git
cd ihsec
sudo make

How?

Adding configs

  • Put all your ~/.emacs.d directories inside of ~/.ihsec/.
  • Assign them unique directory names without any whitespace.

Listing

Get a list of all your saved configurations. The arrow indicates your current one.

ihsec list

Setting

Set a chosen configuration to be used.

ihsec set <your_choice>

Deleting

Delete a chosen configuration from your filesystem.

ihsec del <your_choice>

Installing

You can let ihsec download a config and put it in the right place.

ihsec install <url_to_git_repo> <name_for_the_config>

Help

Omit arguments to view the usage help.

ihsec

ihsec's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ihsec's Issues

Not work in mac

I got you config to my mac! when i run ihsec set conifgname i found the config folder link in .emacs.d/,
the result bellow:
image
How can i fix it ?

It doesn't work.

Dunno if I have misread the instructions but basically I have put 3 configs inside ~/.ihsec (including one that is a symlink to the git repo I use for my emacs config and one installed from github via ihsec install) and after doing ihsec set XXX the folder .emacs.d just has a link to the folder in .ihsec/XXX.
Is this the intended use? Because Emacs is unable to find init.el if it's not directly inside .emacs.d.

I'm using GNU Emacs 26.3 @ Pop! OS 20.10 (which in itself is basically very close to ubuntu 20.10)

Does not show current config

On my machine, ihsec wouldn't show current config for some reason. Hopefully, I identified the problem that caused it. There were some redundant slashes in ihsec and asterisks that prevented identification of configuration that was currently in use on my computer. Not sure whether it wasn't working correctly only on my machine. Please take a look at my modified version Akyshnik/ihsec@b9ee9c5

Install fails spectacularly with both zhshell & bash (Debian 9.4)

Hello! I'm watching your very helpful videos on emacs & came across the one you made on ihsec. I'm very much looking forward to using it--however--I appear to have run into a rather bizarre-looking issue.

I've cloned into a fresh directory two directories down from home: e.g. ~/Source/git/(new dir)

Running sudo make spits out the following:

if [[ "STYPE" == "darwin"* ]]; then cp ihsec.sh /usr/local/bin/ihsec; chmod 755 /usr/local/bin/ihsec; else install -D -m 755 ihsec.sh /usr/local/bin/ihsec; fi
/bin/sh: 1: [[: not found

I have yet to look more closely at the script. I'll return with any findings (I'm just beginning to learn bash scripting, so I may or may not notice what's causing this). Cheers!

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.