GitXplorerGitXplorer
n

dotfiles

public
5 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
158009875ff946a3325e7a7ef9bb1ced7ba38b95

Fix projectile-mode not starting

nnotnarb committed 2 years ago
Unverified
111d36659148c44fa8c5eaa17711925f0d4b2e42

Clean up old emacs config

nnotnarb committed 2 years ago
Unverified
a3cb5e4405620f512d141ca9845b40b15508c2e0

Update .emacs to directly load package.el and use cask dirs

nnotnarb committed 2 years ago
Unverified
5d4fd478eac1573a30ad9c16e3ae575567816432

Sync emacs config with small: update org and go-mode config

nnotnarb committed 4 years ago
Unverified
77d0a1b9be9457e8dd93df8414d6448314940c63

Update emacs config to support go, handle new packages

nnotnarb committed 4 years ago
Unverified
c39564b443286d2054661ad3789412a1ebb22450

Fixed tmux issue with non-escaped backslashes

nnotnarb committed 5 years ago

README

The README file for this repository.
  • notnarb/dotfiles Collection of my dotfiles, mostly for emacs usage

** Docker image [[https://hub.docker.com/r/notnarb/dotfiles/][file:https://img.shields.io/docker/build/notnarb/dotfiles.svg]] [[https://hub.docker.com/r/notnarb/dotfiles/][file:https://img.shields.io/docker/automated/notnarb/dotfiles.svg]]

To run a portable version of these dotfiles with emacs and tmux included, run:

#+BEGIN_SRC shell docker run -it notnarb/dotfiles #+END_SRC

*** Usage examples

Mount current directory (in ~/w/) as current (host) user:

#+BEGIN_SRC shell sudo docker run -it -v $PWD:/root/w/ -e PUID=$UID notnarb/dotfiles #+END_SRC

Same as above but also allow ssh forwarding from host:

#+BEGIN_SRC shell sudo docker run -it -v $(dirname $SSH_AUTH_SOCK):$(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK -v $PWD:/root/w/ -e PUID=$UID notnarb/dotfiles #+END_SRC

*** Advanced usage

Setting 'PUID' will automatically create a user with the same user id within the container and su's to that user. This allows you to edit files within the container as if you were the user running the command.

(There's probably a better way to do this, but this works well enough for me!)