Diferències
Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.
Següent revisió | Revisió prèvia | ||
linux:zsh:modifiers [22/03/2020 05:03] – creat mate | linux:zsh:modifiers [22/03/2020 05:50] (actual) – [ZSH expansion modifiers] mate | ||
---|---|---|---|
Línia 1: | Línia 1: | ||
- | = Variable transformations (modifiers) | + | = ZSH expansion modifiers |
- | dentro del paréntesis de | + | * Variable transformations |
+ | * permite modificar una variable usando **:** en el formato '' | ||
+ | * **u**: uppercase | ||
+ | * **l**: lowercase | ||
+ | * **q**: quote | ||
+ | * **Q**: quita un nivel de comillas | ||
+ | * **P**: absolute path of file | ||
+ | * **h**: basename | ||
+ | * **r**: remove extension | ||
+ | * **s**: sustituciones | ||
+ | * incluye algunos modificadores para archivos | ||
+ | * más: | ||
+ | |||
+ | == mirar | ||
* [[https:// | * [[https:// | ||
* !! [[http:// | * !! [[http:// | ||
* [[http:// | * [[http:// | ||
* | * |