Diferències

Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.

Enllaç a la visualització de la comparació

Ambdós costats versió prèvia Revisió prèvia
Següent revisió
Revisió prèvia
linux:zsh:oh-my-zsh [23/03/2020 01:35] – [plugins] matelinux:zsh:oh-my-zsh [02/06/2026 09:37] (actual) – [external plugins] mate
Línia 8: Línia 8:
  
 == config == config
-  * ''tools/theme_chooser.sh''+  * ''~/.oh-my-zsh/tools/theme_chooser.sh''
  
-== plugins+== internal plugins
   * **dotenv**: autoejeción scripts predefinidos en directorios (set-up variables)   * **dotenv**: autoejeción scripts predefinidos en directorios (set-up variables)
     * wrapper de autoenv:[[https://github.com/inishchith/autoenv]]     * wrapper de autoenv:[[https://github.com/inishchith/autoenv]]
     * no funciona el **.leave**     * no funciona el **.leave**
     * alternativa **zsh-autoenv**     * alternativa **zsh-autoenv**
-  * **zsh-autoenv** [[https://github.com/Tarrasch/zsh-autoenv]] 
-    * no es un plugin nativo de oh-my-zsh 
-    * se integra desde **.zshrc** con un ''source'' 
-    * funciona solo para zsh 
-    * ficheros **.autoenv.zsh** 
-    * instrucciones interesantes: 
-      * ''autostash VAR=VALOR'' -> setea nuevo valor, conservando el anterior y lo recupera al salir del directorio 
-    * ubicación ficheros autorizados: ''~/.local/share/autoenv_auth'' 
   * **transfer**: cli para [[https://transfer.sh]]   * **transfer**: cli para [[https://transfer.sh]]
-  * **zsh-syntax-highlighting**: 
-    * ''apt-get install zsh-syntax-highlighting'' 
-    * ''git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting'' 
-    * <del>''echo "source ${ZSH}/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc''</del> 
-    * añadir a la sección de plugins 
-  * **zsh-autosuggestions**: 
-    * ''git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions'' 
-    * añadir a la sección de plugins 
   * **colored-man-pages**   * **colored-man-pages**
   * **coloriza**   * **coloriza**
   * **copybuffer**: CRTL+o para copiar texto seleccionado o linea cursor a portapapeles   * **copybuffer**: CRTL+o para copiar texto seleccionado o linea cursor a portapapeles
   * **copyfile**: ''copyfile <FILE>'' a portapapeles   * **copyfile**: ''copyfile <FILE>'' a portapapeles
 +    * problemas, requiere libteria adicional
 +    * lib:[[https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/clipboard.zsh]]
   * **docker**   * **docker**
   * **docker-compose**   * **docker-compose**
   * **git**   * **git**
   * **gitignore**: cli a gitignore.io   * **gitignore**: cli a gitignore.io
-  * **zsh_reload**: ''src'' para recargar sesión+    deprecated? 
 +  * **<del>zsh_reload</del>**: ''src'' para recargar sesión -> deprecated -> ''omz reload'' 
 + 
 + 
 +== external plugins 
 +  * **zsh-bat**: 
 +    * <code bash>git clone https://github.com/fdellwing/zsh-bat.git $ZSH_CUSTOM/plugins/zsh-bat</code> 
 +    * [[..:utils:bat|]] 
 +  * **zsh-syntax-highlighting**: 
 +    * <code bash>apt-get install zsh-syntax-highlighting 
 +git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting 
 +# ya no: echo "source ${ZSH}/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc</code> 
 +    * añadir a la sección de plugins 
 +  * **zsh-autosuggestions**: 
 +    * <code bash>git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions</code> 
 +    * añadir a la sección de plugins 
 +  * **zsh-autoenv** [[https://github.com/Tarrasch/zsh-autoenv]] 
 +    * [[linux:zsh:oh-my-zsh:autoenv]] 
 +    * no es un plugin nativo de oh-my-zsh 
 +    * se integra desde **.zshrc** con un ''source'' 
 +    * funciona solo para zsh 
 +    * ficheros **.autoenv.zsh** 
 +    * instrucciones interesantes: 
 +      * ''autostash VAR=VALOR'' -> setea nuevo valor, conservando el anterior y lo recupera al salir del directorio 
 +    * ubicación ficheros autorizados: ''~/.local/share/autoenv_auth'' 
 +  * **cmdtime**: [[https://tau.gr/posts/2021-06-08-zsh-command-time/]] 
 +    * <code bash>git clone https://github.com/tom-auger/cmdtime $ZSH_CUSTOM/plugins/cmdtime</code> 
 +    * add to ''~/.zshrc'' 
 + 
 +==external themes 
 +  * [[linux:zsh:oh-my-zsh:p10k]] 
 +== external (no usados) 
 +  * **zsh-command-time** 
 +    * <code bash>git clone https://github.com/popstas/zsh-command-time.git $ZSH_CUSTOM/plugins/command-time</code> 
 +    * añadir a la sección **plugins** de **~/.zshrc** 
 +    * personalización:<code properties># If command execution time above min. time, plugins will output time. 
 +ZSH_COMMAND_TIME_MIN_SECONDS=3 
 + 
 +# Message to display (set to "" for disable). 
 +ZSH_COMMAND_TIME_MSG="Execution time: %s sec" 
 + 
 +# Message color. 
 +ZSH_COMMAND_TIME_COLOR="cyan" 
 + 
 +# Exclude some commands 
 +ZSH_COMMAND_TIME_EXCLUDE=(vim mcedit)</code> 
 +     * ''$ZSH_COMMAND_TIME'' contiene el valor de tiempo del último comando 
  • linux/zsh/oh-my-zsh.1584952524.txt.gz
  • Darrera modificació: 23/03/2020 01:35
  • per mate