Skip to content
/ env-dev Public

My development environment. Also a nice place to dump stuff that doesn't need its own repo.

Notifications You must be signed in to change notification settings

evnlme/env-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environment Setup

Emacs and Doom are built and installed from source.

Packages

sudo apt update
sudo apt upgrade
sudo apt install -y \
  autoconf \
  dvipng \
  dvisvgm \
  fonts-noto-cjk \
  fonts-noto-cjk-extra \
  gcc-13 \
  git \
  gnutls-bin \
  libacl1-dev \
  libattr1-dev \
  libx11-dev \
  libgccjit-13-dev \
  libgif-dev \
  libgnutls28-dev \
  libgtk-3-dev \
  libncurses-dev \
  libtree-sitter-dev \
  libxpm-dev \
  mailutils \
  make \
  nodejs \
  openssh-client \
  pandoc \
  pipx \
  pkg-config \
  texinfo \
  texlive \
  texlive-latex-extra \
  wslu
pipx install pyright

Git

git config --global user.name "Evan Lee"
git config --global user.email "[email protected]"

Set Up SSH

ssh-keygen -t ed25519 -C "[email protected]"

Register public key to remote account.

Emacs

Build emacs. [Savannah] [GitHub]

GNU Emacs Installation Guide

mkdir ~/emacs
cd ~/emacs
git init
git remote add sv https://git.savannah.gnu.org/git/emacs.git
git remote add gh [email protected]:emacs-mirror/emacs.git
# tagname e.g., emacs-30.1
git fetch gh refs/tags/{tagname}:refs/tags/{tagname}
git checkout tags/{tagname}
./autogen.sh
./configure --with-tree-sitter --with-mailutils
make -j$(nproc)
sudo make install
make clean
make distclean

I don’t use mail but src_bash{–with-mailutils} silences a warning that isn’t relevant to me.

Bug: “MESA: error: ZINK: failed to choose pdev”

https://askubuntu.com/questions/1516040/mesa-and-glx-errors-when-running-glxinfo-ubuntu-24-04

sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update
sudo apt upgrade

Doom

cd ~/.emacs.d
git init
git remote add origin https://github.com/doomemacs/doomemacs.git
git fetch origin master
git checkout master
~/.emacs.d/bin/doom install
doom upgrade

Missing doom fonts

doomemacs/doomemacs#7379

M-x nerd-icons-install-fonts

Local config

cd ~
git init
git remote add origin [email protected]:evnlme/env-dev.git
git fetch origin main
git checkout main
# Identify conflicting files
git checkout -b init
git add <conflicting files>
git commit -m "Initial defaults"
git checkout main
# Review new defaults 'git diff --color init'
doom sync

About

My development environment. Also a nice place to dump stuff that doesn't need its own repo.

Resources

Stars

Watchers

Forks