Giter VIP home page Giter VIP logo

chezmoi.el's People

Contributors

bastidest avatar gwbrck avatar ktetzlaff avatar offbyone avatar tuh8888 avatar twpayne avatar

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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chezmoi.el's Issues

Error when using onepassword from chezmoi - no files found

I've got an issue with trying to use chezmoi inside emacs, where it isn't able to get a password into the underlying op command line:

Enter the password for [email protected] at my.1password.com: [ERROR] 2022/09/22 15:38:49 operation not supported by device
chezmoi: template: github-token:1:4: executing "github-token" at <onepasswordItemFields "Github">: error calling onepasswordItemFields: /usr/local/bin/op signin --raw: exit status 1

'chezmoi-open-other' not respecting .chezmoiroot

Not sure if this effects anything else but when .chezmoiroot is set to anything other than than default it opens a file at the wrong location.

to reproduce;
initalise a repo in the default location (~/.local/share/chezmoi/)
add .chezmoiroot file with the a new root location
add a file to (eg alacritty) chezmoi
edit file with emacs in chezmoi and 'M-x chezmoi-open-other'
file will open with the .chezmoiroot as a prefix to the path.

echo 'home' > ~/.local/share/chezmoi/.chezmoiroot
chezmoi add ~/.config/alacritty/alacritty.yml
chezmoi edit

# in emacs, open alacritty file which will be located under the new root 'home'
M-x chezmoi-open-other
# it opens a file at location ~/home/.config/alacritty/alacritty.yml

showing the location it opens with the other file function:
Screenshot_2023-02-07_14-35-03

showing the location in the repo chezmoi uses
Screenshot_2023-02-07_14-35-37

showing the new root location change by the .chezmoiroot file.
Screenshot_2023-02-07_14-42-28

Chezmoi extensions not packaged

I see that you've done some refactoring in the last merge. It seems that after the refactor, the extensions/ directory is not packaged with the package on Melpa. I've attached a screenshot of the file contents of the tar I just downloaded from Melpa. I have created a PR to fix the packaging here melpa/melpa#8676. Feel free to merge if it looks alright. This is my first time working with Melpa recipes. :)

Screenshot 2023-08-12 at 11 04 08 PM

Provide a plain Capf instead of Company/Cape-specific backends

Hi!

While looking over recent MELPA PRs (melpa/melpa#8676) I noticed that your package includes Company- and Cape-specific completion backends. I suggest that you instead provide a plain Capf which does not depend on Cape, by not relying on Cape internals. This Capf can be used with both Corfu and Company. You avoid the Cape and Company dependencies and reduce maintenance effort this way.

Support for encrypted file ediff(ing)

Thanks for the package. It makes managing chezmoi dotfiles much easier.

One thing that is a bit tricky is dealing with files that are encrypted. I imagine this might be ideally split off to a partially separate package to support age encrypted files.

Then I suppose what chezmoi.el could do is:

  1. Decrypt the chezmoi file into a temporary directory with appropriate permissions
  2. Diff/merge the target file and the temporarily decrypted file
  3. If the decrypted file changed - reencrypt once again.

This is a relatively minor thing since 99.9% of my files are not encrypted, but once in a while it would come in very useful.

Error when running chezmoi-ediff: wrong-type-argument stringp nil

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-name-nondirectory(nil)
  chezmoi-find("~/.local/etc/supervisord-devtools.conf")
  chezmoi-ediff("~/.local/etc/supervisord-devtools.conf")
  funcall-interactively(chezmoi-ediff "~/.local/etc/supervisord-devtools.conf")
  call-interactively(chezmoi-ediff record nil)
  command-execute(chezmoi-ediff record)
  execute-extended-command(nil "chezmoi-ediff" nil)
  funcall-interactively(execute-extended-command nil "chezmoi-ediff" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

I can't actually figure out why this is happening, but I am completely unable to chezmoi-ediff any file.

GNU Emacs 28.0.91 (build 1, x86_64-apple-darwin21.2.0, NS appkit-2113.20 Version 12.1 (Build 21C52)) of 2022-01-13

I'm happy to add any info that might help here, or try out possible fixes.

`run_*` scripts not showing in `chezmoi-find`

Thanks for making this!

I have run_once_ and run_onchange_ scripts that I'd like access to through chezmoi-find, but at the moment they don't seem to show up so I have to navigate to them manually. Is this simply a feature that has not yet been implemented or should I look further into my setup?

Feature request: Providing a simple (chezmoi-add) function

Hi, I just started looking into using chezmoi to manage configurations and it's awesome that there's an emacs package for it :)

I was just thinking while setting things up that it would be nice to have a chezmoi-add function that will take a list of existing files to add to the source dir, or prompt for a file when called interactively. I can just use chezmoi add in a shell, but I prefer to be able to do things with emacs functions if I can!

[solved!]use-package error

I am getting the following error when i try to run (use-package chezmoi)

Error (use-package): chezmoi/:catch: Loading file /usr/share/emacs/27.2/lisp/window.elc failed to provide feature ‘window’

Emacs version is 27.2

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.