Skip to content

Instantly share code, notes, and snippets.

View freddez's full-sized avatar

Frédéric de Zorzi freddez

  • Arbas, France
View GitHub Profile
@freddez
freddez / build-emacs.sh
Created July 17, 2024 13:09 — forked from abidanBrito/build-emacs.sh
Build GNU Emacs from source.
#!/usr/bin/env bash
## Author: Abidán Brito
## This script builds GNU Emacs 29.1 with support for native elisp compilation,
## tree-sitter, libjansson (C JSON library), pure GTK and mailutils.
# Exit on error and print out commands before executing them.
set -euxo pipefail
# Let's set the number of jobs to something reasonable; keep 2 cores
@freddez
freddez / doom.info
Created July 12, 2024 06:53
doom info
generated Jul 12, 2024 08:50:12
system Ubuntu 24.04 LTS Linux 6.8.0-38-generic x86_64
emacs 29.3 HEAD ae8f81561 EMACSDIR=~/.config/emacs/ EMACS=/usr/local/bin/emacs
doom 3.0.0-pre PROFILE=_@0 HEAD -> master b0e1e68e7 2024-07-11 23:32:05 -0400 ~/.config/doom/
shell /bin/bash
features ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2
M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB
traits batch server-running custom-file
modules :config use-package :completion (company +childframe) vertico :ui doom-dashboard (emoji +unicode) hl-todo modeline ophints
@freddez
freddez / git.ps1.bash
Last active March 21, 2016 11:52 — forked from wolever/profile
Fast 100% bash prompt with current git branch info source it in your .bashrc
# prompt examples:
# [3 jobs master virtualenv] ~/code/myproject/foo
# [1 job my-branch virtualenv] ~/code/bar/
# [virtualenv] ~/code/
# ~
# Very, very fast, only requiring a couple of fork()s (and no forking at all to determine the current git branch)
if [[ "$USER" == "root" ]]
then
export PS1="\e[1;31m\]\u \[\e[1;33m\]\w\[\e[0m\] ";