Skip to content

Configuring different shells (zsh, bash and fish) for the Kinder.Dots repository.

License

Notifications You must be signed in to change notification settings

AndreaKinder/Kinder.Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kinder.Shell

Configuraciones modernas y unificadas de shell para Fish, Bash y Zsh, diseñadas para desarrollo profesional.

Kinder.Shell

Características

  • Tres Shells Soportados: Fish, Bash y Zsh
  • Configuración Unificada: Aliases y funciones consistentes
  • Prompts Personalizados: Integración con Git y estado visual
  • Modo Vi: Disponible en los tres shells
  • Funciones Avanzadas: Gestión de proyectos y notas
  • Integración con IA: GitHub Copilot CLI
  • Herramientas Modernas: Starship, Zoxide, FZF, Direnv

Estructura del Proyecto

Kinder.Shell/
├── bash/
│   ├── .bashrc
│   ├── .bash_profile
│   └── functions/
│       ├── dev.sh
│       └── note.sh
├── zsh/
│   ├── .zshrc
│   ├── .zshenv
│   └── functions/
│       ├── dev.zsh
│       └── note.zsh
├── fish/
│   ├── config.fish
│   ├── conf.d/
│   │   └── theme.fish
│   └── functions/
│       ├── dev.fish
│       ├── note.fish
│       └── dev_completions.fish
└── docs/
    ├── es/
    │   ├── bash.md
    │   ├── zsh.md
    │   └── fish.md
    └── en/
        ├── bash.md
        ├── zsh.md
        └── fish.md

Instalación

Automática

Usa el script de instalación de Kinder.Dots:

cd Kinder.Dots
./install.sh

El script te permitirá elegir qué shells instalar:

  1. Fish Shell only
  2. Bash only
  3. Zsh only
  4. All shells

Manual

Fish

ln -sf ~/Kinder.Dots/Kinder.Shell/fish/config.fish ~/.config/fish/
ln -sf ~/Kinder.Dots/Kinder.Shell/fish/conf.d ~/.config/fish/
ln -sf ~/Kinder.Dots/Kinder.Shell/fish/functions ~/.config/fish/

Bash

ln -sf ~/Kinder.Dots/Kinder.Shell/bash/.bashrc ~/.bashrc
ln -sf ~/Kinder.Dots/Kinder.Shell/bash/.bash_profile ~/.bash_profile
mkdir -p ~/.config/bash/functions
ln -sf ~/Kinder.Dots/Kinder.Shell/bash/functions/* ~/.config/bash/functions/

Zsh

ln -sf ~/Kinder.Dots/Kinder.Shell/zsh/.zshrc ~/.zshrc
ln -sf ~/Kinder.Dots/Kinder.Shell/zsh/.zshenv ~/.zshenv
mkdir -p ~/.config/zsh/functions
ln -sf ~/Kinder.Dots/Kinder.Shell/zsh/functions/* ~/.config/zsh/functions/

Características Comunes

Aliases

Git:

  • g - git
  • ga - git add
  • gc - git commit
  • gp - git push
  • gl - git pull
  • gs - git status
  • glog - git log con gráfico

Navegación:

  • .. - cd ..
  • ... - cd ../..
  • .... - cd ../../..

Desarrollo:

  • vim - nvim
  • vi - nvim
  • python - python3
  • pip - pip3

Funciones

dev

Gestión de proyectos de desarrollo:

dev -n proyecto      # Crear nuevo proyecto
dev -o proyecto      # Abrir proyecto existente
dev -l               # Listar proyectos
dev -c URL           # Clonar repositorio
dev -s               # Estado git
dev -r script        # Ejecutar script npm
dev -t               # Ejecutar tests
dev -b               # Construir proyecto

note

Gestión de notas con Telekasten:

note                 # Abrir panel
note -n              # Nueva nota
note -s              # Buscar notas
note -d              # Nota de hoy
note -w              # Nota de esta semana

Utilidades

  • mkcd DIR - Crear y entrar en directorio
  • extract FILE - Extraer archivos comprimidos
  • weather [CITY] - Mostrar clima
  • myip - Mostrar IP pública
  • clean-system - Limpiar caché del sistema
  • update-system - Actualizar paquetes

Documentación

Consulta la documentación específica de cada shell:

Personalización

Cada shell soporta configuración local:

  • Fish: ~/.config/fish/local.fish
  • Bash: ~/.config/bash/local.sh
  • Zsh: ~/.config/zsh/local.zsh

Ejemplo:

export MI_VARIABLE=valor
alias mi_alias='comando'

Integración

Kinder.Shell se integra con:

  • Kinder.Vim: Neovim con configuración completa
  • Terminales: Alacritty, Ghostty
  • Herramientas: Starship, Zoxide, FZF, Direnv
  • IA: GitHub Copilot CLI

Comparación de Shells

Característica Fish Bash Zsh
Facilidad de uso ⭐⭐⭐⭐⭐ ⭐⭐⭐ ⭐⭐⭐⭐
Compatibilidad ⭐⭐⭐ ⭐⭐⭐⭐⭐ ⭐⭐⭐⭐
Autocompletado ⭐⭐⭐⭐⭐ ⭐⭐⭐ ⭐⭐⭐⭐⭐
Personalización ⭐⭐⭐⭐ ⭐⭐⭐⭐ ⭐⭐⭐⭐⭐
Velocidad ⭐⭐⭐⭐⭐ ⭐⭐⭐⭐ ⭐⭐⭐⭐

Licencia

MIT License - Ver LICENSE para más detalles.

Contribuir

Las contribuciones son bienvenidas. Por favor:

  1. Fork el repositorio
  2. Crea una rama para tu feature
  3. Commit tus cambios
  4. Push a la rama
  5. Abre un Pull Request

Autor

Andrea - Kinder.Dots

Recursos

About

Configuring different shells (zsh, bash and fish) for the Kinder.Dots repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages