Outils pour utilisateurs

Outils du site


article:installer_oh-my-zsh

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
article:installer_oh-my-zsh [2024/01/16 09:33] estroarticle:installer_oh-my-zsh [2024/02/27 10:34] (Version actuelle) estro
Ligne 53: Ligne 53:
 } || {  } || { 
 cat << EOF >~/.zshrc  cat << EOF >~/.zshrc 
-If you come from bash you might have to change your $PATH+##---------------------------------------------------------------------------------- 
-# export PATH=$HOME/bin:/usr/local/bin:$PATH +echo $PATH|grep $HOME/bin: >/dev/null; [ $? -ne 0  ] && [ -e $HOME/bin ] && export PATH=$HOME/bin:$PATH 
- +# 
-Path to your oh-my-zsh installation.+##---------------------------------------------------------------------------------- 
 +## alias ########################################################################### 
 +
 +alias ll="/bin/ls -l --color" 
 +alias la="/bin/ls -lah" 
 +alias  l="/bin/ls -A" 
 +alias rm="/bin/rm -i" 
 +alias cp="/bin/cp -i" 
 +alias mv="/bin/mv -i" 
 +alias  f="/bin/clear" 
 +
 +##---------------------------------------------------------------------------------- 
 +## Constantes environnement ############################################################### 
 +
 +export LANG=fr_FR.UTF-8 
 +export LANGUAGE=fr_FR 
 +export ARCHFLAGS="-arch x86_64" 
 +
 +##---------------------------------------------------------------------------------- 
 +## oh-my-zsh ########################################################################### 
 +#
 export ZSH="$HOME/.oh-my-zsh/" export ZSH="$HOME/.oh-my-zsh/"
  
Ligne 63: Ligne 83:
 plugins=(git colored-man-pages zsh-navigation-tools zsh-autosuggestions) plugins=(git colored-man-pages zsh-navigation-tools zsh-autosuggestions)
  
- 
-# export MANPATH="/usr/local/man:$MANPATH" 
-# export LANG=en_US.UTF-8 
  
 export EDITOR=nano export EDITOR=nano
- 
-# Compilation flags 
-export ARCHFLAGS="-arch x86_64" 
- 
  
 #source /usr/share/powerline/bindings/zsh/powerline.zsh #source /usr/share/powerline/bindings/zsh/powerline.zsh
-ZSH_THEME="agnoster"+export ZSH_THEME="agnoster" 
 +export LANG=fr_FR.UTF-8 
 +export LANGUAGE=fr_FR
  
 source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
Ligne 81: Ligne 96:
 $(build_prompt) $(build_prompt)
 > " > "
- 
- 
  
 alias zshconfig="nano -cl ~/.zshrc" alias zshconfig="nano -cl ~/.zshrc"
-alias ll="/bin/ls -l --color" 
-# 
-# 
-## alias ########################################################################### 
 ##---------------------------------------------------------------------------------- ##----------------------------------------------------------------------------------
-# 
-alias la="/bin/ls -lah" 
-alias  l="/bin/ls -A" 
-alias rm="/bin/rm -i" 
-alias cp="/bin/cp -i" 
-alias mv="/bin/mv -i" 
-alias  f="/bin/clear" 
-# 
-## Compilation flags ############################################################### 
-##---------------------------------------------------------------------------------- 
-export LANG=fr_FR.UTF-8 
-export LANGUAGE=fr_FR 
-export ARCHFLAGS="-arch x86_64" 
-# 
 ## fontions utiles ############################################################### ## fontions utiles ###############################################################
-##----------------------------------------------------------------------------------+#
 function g() { function g() {
   grep $@ | grep -v grep   grep $@ | grep -v grep
Ligne 115: Ligne 110:
     eval $(cat $memo_ssh) >/dev/null     eval $(cat $memo_ssh) >/dev/null
   } ||  {   } ||  {
 +    mkdir -p /run/user/$(id -u)
     ssh-agent >$memo_ssh     ssh-agent >$memo_ssh
     eval $(cat $memo_ssh) >/dev/null     eval $(cat $memo_ssh) >/dev/null
Ligne 121: Ligne 117:
 } }
 def_agent_ssh def_agent_ssh
 +##----------------------------------------------------------------------------------
  
 EOF EOF
article/installer_oh-my-zsh.1705394030.txt.gz · Dernière modification : 2024/01/16 09:33 de estro