2025-03-14 21:59:59 -06:00
|
|
|
# abbr
|
|
|
|
|
|
|
|
|
|
> Gestiona abreviatures per la shell fish.
|
|
|
|
|
> Les paraules definides per l'usuari es reemplacen per expresions llarges en introduïr-les.
|
|
|
|
|
> Més informació: <https://fishshell.com/docs/current/cmds/abbr.html>.
|
|
|
|
|
|
|
|
|
|
- Afegeix una nova abreviatura:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`abbr {{[-a|--add]}} {{nom_abreviatura}} {{comandament}} {{arguments}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Canvia el nom d'una abreviatura existent:
|
|
|
|
|
|
|
|
|
|
`abbr --rename {{antic_nom}} {{nou_nom}}`
|
|
|
|
|
|
|
|
|
|
- Esborra una abreviatura existent:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`abbr {{[-e|--erase]}} {{nom_abreviatura}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Importa les abreviatures definides en un altre host per SSH:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`ssh {{nom_host}} abbr {{[-s|--show]}} | source`
|