-
-
Save webskin/44d9c5af3024e9a912b1 to your computer and use it in GitHub Desktop.
Installation de zsh et des modules supplémentaires
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| installer zsh depuis synaptic | |
| lancer zsh et choisir l'option de configuration automatique (2) | |
| changer le shell par defaut | |
| chsh | |
| /bin/zsh | |
| In gnome-terminal, the system will usually default to using Bash, because that's what gnome-terminal runs. | |
| I overrode that "default" by changing the profile preferences. Open up gnome-terminal | |
| (the "Terminal" application), then go to 'Edit' and 'Profile Preferences'. | |
| Make sure you're editing the 'default' profile, and go to the "Title and Command" tab. | |
| Under "Command" there are three checkboxes: "Run command as a login shell", | |
| "Update login records when command is launched", and "Run a custom command instead of my shell". | |
| I checked all three boxes, and under "Custom command:" I put zsh. | |
| I also set "When command exits:" to "Exit the terminal" so it closes the terminal window. | |
| Hit the "Close" button, then exit gnome-terminal and then reopen it. It should now start zsh instead of Bash. | |
| ----------------------------------------------- | |
| Installation de oh my zsh | |
| curl -L http://install.ohmyz.sh | sh | |
| attention supprime la configuration de l'utilsateur | |
| ----------------------------------------------- | |
| Installation du theme Solarized pour gnome-terminal | |
| sudo apt-get install dconf-cli | |
| https://github.com/Anthony25/gnome-terminal-colors-solarized | |
| cd tmp | |
| git clone https://github.com/Anthony25/gnome-terminal-colors-solarized.git | |
| cd gnome-terminal-colors-solarized | |
| choisir dark | |
| choisir le profile webskin | |
| --------------------------------------------------- | |
| Installation de la font : | |
| http://askubuntu.com/questions/283908/how-can-i-install-and-use-powerline-plugin | |
| sudo apt-get install python-pip | |
| pip install --user git+git://github.com/Lokaltog/powerline | |
| edition du fichier .zshrc | |
| export PATH=$HOME/.local/bin:$PATH | |
| wget https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf | |
| sudo mv PowerlineSymbols.otf /usr/share/fonts/ | |
| sudo fc-cache -vf | |
| sudo mv 10-powerline-symbols.conf /etc/fonts/conf.d/ | |
| dans .zshrc | |
| if [[ -r ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh ]]; then | |
| source ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh | |
| fi | |
| ---------------------------------------------------- | |
| dans .zshrc | |
| ZSH_THEME="agnoster" | |
| ---------------------------------------------------- | |
| pour intellij dl | |
| https://github.com/Lokaltog/powerline-fonts/raw/master/SourceCodePro/Sauce%20Code%20Powerline%20Regular.otf | |
| sudo mv Sauce\ Code\ Powerline\ Regular.otf /usr/share/fonts/ | |
| sudo fc-cache -vf ~/.fonts/ | |
| et dans intellij | |
| choisir dans setting console font sauce code | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment