diff --git a/git/.gitignore b/.gitignore similarity index 78% rename from git/.gitignore rename to .gitignore index d3a3935..5745560 100755 --- a/git/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *~ \#*\# *.log +.#* diff --git a/README.md b/README.md index 277f18f..9a33989 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ I'm using: 3. Sorting the "Prerequisites" by importance 4. Improve the README.md or maybe make a wiki. 5. Getting away from Manjaro i3 (?) +6. Emacs Markdown preview is buggy, find another way ## Getting Started ## @@ -51,7 +52,7 @@ Yaourt Install * [i3lock-color](https://github.com/PandorasFox/i3lock-color) - Needed for ~/.scripts/i3lock.py * [cli-visualizer](https://github.com/dpayne/cli-visualizer) - Command line visualizer. -``` +``` shell 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 -R palemoon-bin epdfview @@ -59,7 +60,7 @@ yaourt -S i3lock-color cli-visualizer ``` ### Setting up zsh ### -``` +``` shell 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 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 ### -If you have a clean emacs installation, you need to add the following snippet to your ~/.emacs file first. -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/") - ) - ) -``` +Setting up Emacs for Prelude is easy. -Afterwards you can do this, to get some neat packages. -More information on the following packages can be found inside of my **.emacs** file. -Open emacs and do the following: -(M = \/\) +``` shell +curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh ``` -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 ### Setting up some programs. #### Installing Nextcloud-Client (optional) #### -``` +``` shell 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 sudo ln -s ~/Downloads/Nextcloud-2.3.3-x86_64.AppImage /usr/bin/nextcloud ``` #### Finally *"installing"* the dotfiles. #### -``` +``` shell git clone https://github.com/TuDatTr/dotfiles .dotfiles stow 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. -```pip install -r --user ~/dotfiles/requirements.txt``` +``` pip +pip install -r --user ~/dotfiles/requirements.txt +``` # Author # * Tuan-Dat Tran - [TuDatTr](https://github.com/tudattr/)