From ba5cb174597609846356704a16cabc06a274ec41 Mon Sep 17 00:00:00 2001 From: gbaconni Date: Thu, 28 Oct 2021 17:04:06 +0200 Subject: [PATCH] Add a Bonus --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6519126..063e246 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,7 @@ git config user.name "marvin" git config user.email "marvin@student.42lausanne.ch" ``` -UNIX/BSD Distro (MacOS X, FreeBSD, OpenBSD, etc.) -Add in `~/.zshrc` your: +UNIX/BSD Distro (MacOS X, FreeBSD, OpenBSD, etc.) edit `~/.zshrc`: ``` vim ~/.zshrc export USER="marvin" @@ -68,8 +67,7 @@ export MAIL="marvin@student.42lausanne.ch" source ~/.zshrc ``` -Linux/GNU Distro (Debian/Ubuntu, RedHat/SuSE, Arch, Gentoo, etc.) -Add in `~/.bashrc` your: +Linux/GNU Distro (Debian/Ubuntu, RedHat/SuSE, Arch, Gentoo, etc.) edit `~/.bashrc`: ``` vim ~/.bashrc export USER="marvin" @@ -107,6 +105,19 @@ The location of the official stdheader.vim in 42lausanne's clusters: - [@42Paris](https://github.com/42Paris) - [@zazard](https://github.com/zazard) +### **Bonus** + +- Swissair is gone? Have a look to [Airline](https://github.com/vim-airline/vim-airline) for a nice status for vim. +``` +test -d ~/.vim/plugin || mkdir -p ~/.vim/plugin +test -d ~/.vim/autoload || mkdir -p ~/.vim/autoload +git clone https://github.com/vim-airline/vim-airline.git vim-airline +cd vim-airline +cp -va autoload/* ~/.vim/autoload/ +cp -va plugin/* ~/.vim/plugin/ +``` +[RTFM](https://github.com/vim-airline/vim-airline/blob/master/doc/airline.txt) + ### **License** This work is published under the terms of **[42 Unlicense](https://github.com/gcamerli/42unlicense)**.