diff --git a/readme.md b/readme.md index 2ca91fa..e774fa6 100644 --- a/readme.md +++ b/readme.md @@ -1,19 +1,26 @@ # to use this repo -simply clone -```sh -git clone https://git.iovchinnikov.ru/ivan-igorevich/emacs-config.git ~/.emacs-ii -``` +1. after installing emacs do some useful terminal magic + ```sh + echo alias emacs=\'emacs -nw\' >> ~/.bashrc + source ~/.bashrc + ``` + this will help running emacs in terminal without "no gui found" errors -and tell emacs where to find config file and libraries +2. simply clone + ```sh + git clone https://git.iovchinnikov.ru/ivan-igorevich/emacs-config.git ~/.emacs-ii + ``` -```lisp - (require 'package) - (load "~/.emacs-ii/emacs.el") - (let ((default-directory "~/.emacs-ii/emacs.d")) - (normal-top-level-add-subdirs-to-load-path)) -``` +3. and tell emacs where to find config file and libraries + ```lisp + (require 'package) + (load "~/.emacs-ii/emacs.el") + (let ((default-directory "~/.emacs-ii/emacs.d")) + (normal-top-level-add-subdirs-to-load-path)) + ``` -# download dictionaries +# if spellcheck needed +download dictionaries and install them ```sh mkdir -p /tmp/nbdict && cd /tmp/nbdict wget ftp://ftp.gnu.org/gnu/aspell/dict/ru/aspell6-ru-0.99f7-1.tar.bz2