Changed README.md

clean_emacs
TuDatTr 2018-01-06 21:04:06 +01:00
parent 0f1b615115
commit 39c1ec2c59
No known key found for this signature in database
GPG Key ID: 6B2AC5D2CAECE06A
2 changed files with 50 additions and 14 deletions

2
.gitignore vendored
View File

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

View File

@ -1,23 +1,50 @@
# dotfiles # dotfiles ![shrug](https://nextcloud.mos4.de/apps/theming/logo?v=5 "shrug")
These are my personal dotfiles. These are my personal dotfiles.
I'm using:
*[Manjaro i3](https://manjaro.org/2017/03/07/manjaro-i3-community-edition-17-0-released/)
*[GNU Emacs](https://www.gnu.org/software/emacs/
## TODOS: ## TODOS:
1. Make a pip requirements.txt for elpy and .scripts/i3lock.py 1. Make a proper pip requirements.txt for elpy and .scripts/i3lock.py
2. Making an own conky, conky_maia-like
3. Adding common keybindings of Emacs, i3 and aliases of zsh
4. Improve the README.md
## zsh as default shell ## Getting Started
### Setting up zsh as default shell.
``` ```
chsh -s /bin/zsh chsh -s /bin/zsh
rm -rf ~/.*bash* sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
cp -r /usr/share/zsh-theme-powerlevel9k ~/.oh-my-zsh/themes/powerlevel9k
rm -rf ~/.*bash* # remove bash-stuff from your home directory.. don't do it if you wanna keep using bash
``` ```
## Install needed packages/uninstall unnecessary ones.
### Install needed packages/uninstall unnecessary ones.
``` ```
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 sudo pacman -S emacs git termite python-pip zsh-theme-powerlevel9k powerline-fonts awesome-terminal-fonts texlive-most firefox thunderbird evince
sudo pacman -R palemoon-bin sudo pacman -R palemoon-bin
yaourt -S i3lock-color yaourt -S i3lock-color
``` ```
## In Emacs ### For Emacs
If you have a clear emacs installation you need to add the following snippet to your ~/.emacs file first.
```
(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.
Open emacs and do the following:
(M = <Alt>/<Meta>)
``` ```
M-x package-install auctex M-x package-install auctex
M-x package-install dummyparens M-x package-install dummyparens
@ -29,16 +56,25 @@ M-x package-install nyan-mode
M-x package-install rainbow-mode M-x package-install rainbow-mode
``` ```
## Setups You can browse some more packages by entering this `M-x package-list-packages` in emacs.
If you're using elpy you might want to do this.
```pip install --user ~/dotfiles/requirements.txt```
### Setups
Setting up some programs.
#### Installing Nextcloud-Client
``` ```
wget https://download.nextcloud.com/desktop/releases/Linux/Nextcloud-2.3.3-x86_64.AppImage -o ~/Downloads/ wget https://download.nextcloud.com/desktop/releases/Linux/Nextcloud-2.3.3-x86_64.AppImage -o ~/Downloads/
chmod +x ~Downloads/Nextcloud-2.3.3-x86_64.AppImage chmod +x ~Downloads/Nextcloud-2.3.3-x86_64.AppImage
pip install --user ~/dotfiles/requirements.txt sudo ln -s ~/Downloads/Nextcloud-2.3.3-x86_64.AppImage /usr/bin/nextcloud
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" ```
cp -r /usr/share/zsh-theme-powerlevel9k ~/.oh-my-zsh/themes/powerlevel9k
#### Finally *installing* the dotfiles.
```
git clone https://github.com/TuDatTr/dotfiles git clone https://github.com/TuDatTr/dotfiles
cp -r ./dotfiles . cp -r ./dotfiles .
rm -rf .i3/ rm -rf .i3/
sudo ln -s ~/.scripts/pipes.sh /usr/local/bin/pipes sudo ln -s ~/.scripts/pipes.sh /usr/local/bin/pipes
sudo ln -s ~/Downloads/Nextcloud-2.3.3-x86_64.AppImage /usr/bin/nextcloud
``` ```