🐚 Personalizar bash
1. Instalar Bash-it
Section titled “1. Instalar Bash-it”git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it~/.bash_it/install.sh
Durante la instalación, el script modificará tu ~/.bashrc
automáticamente para activar Bash-it.
2. Cambiar el tema (ejemplo: metal
)
Section titled “2. Cambiar el tema (ejemplo: metal)”Edita tu archivo ~/.bashrc
:
nano ~/.bashrc
Busca esta línea:
export BASH_IT_THEME='bobby'
Y cámbiala por:
export BASH_IT_THEME='metal'
Si no existe, añádela justo antes de esta línea:
Terminal window
source $BASH_IT/bash_it.sh
3. Aplicar cambios
Section titled “3. Aplicar cambios”Recarga Bash con:
source ~/.bashrc
4. Ver temas disponibles
Section titled “4. Ver temas disponibles”ls ~/.bash_it/themes
O para previsualizarlos:
bash-it show themes
5. Verificar tema actual
Section titled “5. Verificar tema actual”echo $BASH_IT_THEME
🎯 Notas adicionales
Section titled “🎯 Notas adicionales”-
Abre una nueva terminal para confirmar el nuevo tema.
-
Asegúrate de estar usando Bash:
Terminal window echo $SHELL# Debe devolver /bin/bash