linux:zsh:oh-my-zsh

Aquesta és una revisió antiga del document


oh-my-zsh

potenciador de zsh con temas y plugins : https://ohmyz.sh/

más: https://www.howtoforge.com/tutorial/how-to-setup-zsh-and-oh-my-zsh-on-linux/

  • chsh -s $(which zsh) : cambiar shell a mano si no lo hace automaticamente
  • ~/.oh-my-zsh/tools/theme_chooser.sh
  • dotenv: autoejeción scripts predefinidos en directorios (set-up variables)
    • 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
  • 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
    • echo «source ${ZSH}/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh» » ${ZDOTDIR:-$HOME}/.zshrc
    • añadir a la sección de plugins
  • zsh-autosuggestions:
  • colored-man-pages
  • coloriza
  • copybuffer: CRTL+o para copiar texto seleccionado o linea cursor a portapapeles
  • copyfile: copyfile <FILE> a portapapeles
  • docker
  • docker-compose
  • git
  • gitignore: cli a gitignore.io
  • zsh_reload: src para recargar sesión → deprecated → omz reload
  • linux/zsh/oh-my-zsh.1633673083.txt.gz
  • Darrera modificació: 07/10/2021 23:04
  • per mate