Skip to content

Latest commit

 

History

History
84 lines (61 loc) · 2 KB

README.md

File metadata and controls

84 lines (61 loc) · 2 KB

pkb

Personal Knowledge Base

Installation

Debian-Based

Install Emacs and C compiler

sudo apt install emacs
sudo apt install build-essential

Fedora

Install Emacs and C compiler

sudo dnf install emacs
sudo dnf group install "C Development Tools and Libraries" "Development Tools"

Setup Emacs

Install use-package by creating an Emacs Init File ~/.emacs.d/init.el:

(require 'package)
(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/") t)

Start Emacs

emacs

Install use-package in the Emacs terminal

M-x package-refresh-contents RET
M-x package-install RET use-package-ensure-system-package RET

Kill Emacs process

ps -fea | grep emacs
kill -9 <PID>

Replace initialization files and copy packages (move-lines.el, showkey.el)

cp pkb/config/.emacs-linux ~/.emacs.d/init.el
cp pkb/config/custom-vars-linux.el ~/.emacs.d/custom-vars.el
mkdir ~/.emacs.d/lisp
cp pbk/config/packages/*.el ~/emacs.d/lisp

(Optional) Synchronize private notes

./scripts/pkb/sync-private

Start Emacs

./scripts/start-emacs

Contact

Feel free to file a GitHub issue or follow me on Twitter. If you prefer a secure channel chat with me on Keybase.

Contribution

Follow the Contribution guidelines for this project.

License

CC-BY-SA

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Executable code (complete examples) is under the MIT License.