Add a Bonus

This commit is contained in:
gbaconni
2021-10-28 17:04:06 +02:00
parent a73d1c7f58
commit ba5cb17459

View File

@@ -58,8 +58,7 @@ git config user.name "marvin"
git config user.email "marvin@student.42lausanne.ch" git config user.email "marvin@student.42lausanne.ch"
``` ```
UNIX/BSD Distro (MacOS X, FreeBSD, OpenBSD, etc.) UNIX/BSD Distro (MacOS X, FreeBSD, OpenBSD, etc.) edit `~/.zshrc`:
Add in `~/.zshrc` your:
``` ```
vim ~/.zshrc vim ~/.zshrc
export USER="marvin" export USER="marvin"
@@ -68,8 +67,7 @@ export MAIL="marvin@student.42lausanne.ch"
source ~/.zshrc source ~/.zshrc
``` ```
Linux/GNU Distro (Debian/Ubuntu, RedHat/SuSE, Arch, Gentoo, etc.) Linux/GNU Distro (Debian/Ubuntu, RedHat/SuSE, Arch, Gentoo, etc.) edit `~/.bashrc`:
Add in `~/.bashrc` your:
``` ```
vim ~/.bashrc vim ~/.bashrc
export USER="marvin" export USER="marvin"
@@ -107,6 +105,19 @@ The location of the official stdheader.vim in 42lausanne's clusters:
- [@42Paris](https://github.com/42Paris) - [@42Paris](https://github.com/42Paris)
- [@zazard](https://github.com/zazard) - [@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** ### **License**
This work is published under the terms of **[42 Unlicense](https://github.com/gcamerli/42unlicense)**. This work is published under the terms of **[42 Unlicense](https://github.com/gcamerli/42unlicense)**.