Skip to content

Instantly share code, notes, and snippets.

View trinne's full-sized avatar
🐢
I like Turtles

Tuomas Rinne trinne

🐢
I like Turtles
  • Solita Oy
  • Finland
View GitHub Profile
;; -*- mode: emacs-lisp; lexical-binding: t -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Layer configuration:
This function should only modify configuration layer settings."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
;; `+distribution'. For now available distributions are `spacemacs-base'
@trinne
trinne / gist:4599037
Last active December 11, 2015 12:09 — forked from JeffreyWay/gist:3185773
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/private/etc \
--with-apxs2=/usr/sbin/apxs \
--enable-cli \
--with-config-file-path=/etc \
--with-libxml-dir=/usr \
--with-openssl=/usr \
@trinne
trinne / Colorful Bash Prompt
Last active December 10, 2015 15:28
Colorful Bash Prompt, inspired by "Extravagant Zsh Prompt"Screenshot: http://img.gf3.ca/d54942f474256ec26a49893681c49b5a.pngA big thanks to \amethyst on Freenode
# Colorful Bash Prompt, inspired by "Extravagant Zsh Prompt"
# Screenshot: http://img.gf3.ca/d54942f474256ec26a49893681c49b5a.png
# A big thanks to \amethyst on Freenode
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then export TERM=gnome-256color
elif infocmp xterm-256color >/dev/null 2>&1; then export TERM=xterm-256color
fi
if tput setaf 1 &> /dev/null; then
tput sgr0