Edited README

Signed-off-by: TuDatTr <tran.tuan-dat@mailbox.org>
clean_emacs
TuDatTr 2018-01-08 05:06:00 +01:00
parent b3830cd314
commit 601aadccd5
2 changed files with 12 additions and 33 deletions

View File

@ -1,3 +1,4 @@
*~ *~
\#*\# \#*\#
*.log *.log
.#*

View File

@ -15,6 +15,7 @@ I'm using:
3. Sorting the "Prerequisites" by importance 3. Sorting the "Prerequisites" by importance
4. Improve the README.md or maybe make a wiki. 4. Improve the README.md or maybe make a wiki.
5. Getting away from Manjaro i3 (?) 5. Getting away from Manjaro i3 (?)
6. Emacs Markdown preview is buggy, find another way
## Getting Started ## ## Getting Started ##
@ -51,7 +52,7 @@ Yaourt Install
* [i3lock-color](https://github.com/PandorasFox/i3lock-color) - Needed for ~/.scripts/i3lock.py * [i3lock-color](https://github.com/PandorasFox/i3lock-color) - Needed for ~/.scripts/i3lock.py
* [cli-visualizer](https://github.com/dpayne/cli-visualizer) - Command line visualizer. * [cli-visualizer](https://github.com/dpayne/cli-visualizer) - Command line visualizer.
``` ``` shell
sudo pacman -Syu sudo pacman -Syu
sudo pacman -S emacs git termite python-pip zsh-theme-powerlevel9k powerline-fonts awesome-terminal-fonts texlive-most firefox thunderbird evince veracrypt keepassx2 xorg-xbacklight pulseaudio-alsa pulseaudio-bluetooth nyancat cmus sudo pacman -S emacs git termite python-pip zsh-theme-powerlevel9k powerline-fonts awesome-terminal-fonts texlive-most firefox thunderbird evince veracrypt keepassx2 xorg-xbacklight pulseaudio-alsa pulseaudio-bluetooth nyancat cmus
sudo pacman -R palemoon-bin epdfview sudo pacman -R palemoon-bin epdfview
@ -59,7 +60,7 @@ yaourt -S i3lock-color cli-visualizer
``` ```
### Setting up zsh ### ### Setting up zsh ###
``` ``` shell
chsh -s /bin/zsh chsh -s /bin/zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # Downloading/Installing oh-my-zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # Downloading/Installing oh-my-zsh
cp -r /usr/share/zsh-theme-powerlevel9k ~/.oh-my-zsh/themes/powerlevel9k # copying powerlevel9k-theme to the desired directory cp -r /usr/share/zsh-theme-powerlevel9k ~/.oh-my-zsh/themes/powerlevel9k # copying powerlevel9k-theme to the desired directory
@ -67,48 +68,23 @@ rm -rf ~/.*bash* # remove bash-stuff from your home directory.. don't do it if y
``` ```
### Setting up Emacs ### ### Setting up Emacs ###
If you have a clean emacs installation, you need to add the following snippet to your ~/.emacs file first. Setting up Emacs for Prelude is easy.
This enables simple package installation.
```
(package-initialize)
(when (>= emacs-major-version 24)
(require 'package)
(add-to-list
'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/")
'("elpy" . "http://jorgenschaefer.github.io/packages/")
)
)
```
Afterwards you can do this, to get some neat packages. ``` shell
More information on the following packages can be found inside of my **.emacs** file. curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
Open emacs and do the following:
(M = \<Alt\>/\<Meta\>)
``` ```
M-x package-install auctex
M-x package-install dummyparens
M-x package-install elpy
M-x package-install flycheck
M-x package-install forest-blue-theme
M-x package-install google-this
M-x package-install nyan-mode
M-x package-install rainbow-mode
```
You can browse some more packages by entering this `M-x package-list-packages` in emacs.
### Setups ### ### Setups ###
Setting up some programs. Setting up some programs.
#### Installing Nextcloud-Client (optional) #### #### Installing Nextcloud-Client (optional) ####
``` ``` shell
wget https://download.nextcloud.com/desktop/releases/Linux/Nextcloud-2.3.3-x86_64.AppImage --P ~/Downloads/ wget https://download.nextcloud.com/desktop/releases/Linux/Nextcloud-2.3.3-x86_64.AppImage --P ~/Downloads/
chmod +x ~/Downloads/Nextcloud-2.3.3-x86_64.AppImage chmod +x ~/Downloads/Nextcloud-2.3.3-x86_64.AppImage
sudo ln -s ~/Downloads/Nextcloud-2.3.3-x86_64.AppImage /usr/bin/nextcloud sudo ln -s ~/Downloads/Nextcloud-2.3.3-x86_64.AppImage /usr/bin/nextcloud
``` ```
#### Finally *"installing"* the dotfiles. #### #### Finally *"installing"* the dotfiles. ####
``` ``` shell
git clone https://github.com/TuDatTr/dotfiles .dotfiles git clone https://github.com/TuDatTr/dotfiles .dotfiles
stow stow
rm -rf ~/.i3/ rm -rf ~/.i3/
@ -116,7 +92,9 @@ sudo ln -s ~/.scripts/pipes.sh /usr/local/bin/pipes
``` ```
If you're using elpy you might want to do this. If you're using elpy you might want to do this.
```pip install -r --user ~/dotfiles/requirements.txt``` ``` pip
pip install -r --user ~/dotfiles/requirements.txt
```
# Author # # Author #
* Tuan-Dat Tran - [TuDatTr](https://github.com/tudattr/) * Tuan-Dat Tran - [TuDatTr](https://github.com/tudattr/)