Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
tutorial_de_fish [2022/07/05 16:32] – [Activar el intérprete de comandos Fish] peron | tutorial_de_fish [2023/06/06 19:42] (actual) – [Funciones incorporadas] peron | ||
---|---|---|---|
Línea 418: | Línea 418: | ||
</ | </ | ||
- | ==== Conditionales | + | ==== Condicionales |
Línea 438: | Línea 438: | ||
<code bash> | <code bash> | ||
- | if test " | + | if test " |
- | echo FLOUNDER | + | echo CORNALITO |
end | end | ||
# o | # o | ||
- | if test "$number" -gt 5 | + | if test "$numero" -gt 5 |
- | echo $number | + | echo $cantidad |
else | else | ||
- | echo $number | + | echo $cantidad |
end | end | ||
Línea 509: | Línea 509: | ||
=== funciones incorporadas === | === funciones incorporadas === | ||
- | N_, abbr, alias, bg, cd, cdh, contains_seq, | + | //N_//, //abbr//, //alias//, //bg//, //cd//, //cdh//, //contains_seq//, //dirh//, //dirs//, //disown//, //down-or-search//, //edit_command_buffer//, //export//, //fg//, //fish_add_path//, //fish_breakpoint_prompt//, //fish_clipboard_copy//, //fish_clipboard_paste//, //fish_config//, //fish_default_key_bindings//, //fish_default_mode_prompt//, //fish_git_prompt//, //fish_hg_prompt//, //fish_hybrid_key_bindings//, //fish_indent//, //fish_is_root_user//, //fish_job_summary//, //fish_key_reader//, //fish_md5//, //fish_mode_prompt//, //fish_npm_helper//, //fish_opt//, //fish_print_git_action//, //fish_print_hg_root//, //fish_prompt//, //fish_sigtrap_handler//, //fish_svn_prompt//, //fish_title//, //fish_update_completions//, //fish_vcs_prompt//, //fish_vi_cursor//, //fish_vi_key_bindings//, //funced//, //funcsave//, //grep//, //help//, //history//, //hostname//, //isatty//, //kill//, //la//, //ll//, //ls//, //man//, //nextd//, //open//, //popd//, //prevd//, //prompt_hostname//, //prompt_pwd//, //psub//, //pushd//, //realpath//, //seq//, //setenv//, //suspend//, //trap//, //type//, //umask//, //up-or-search//, //vared//, //wait//. |
Podrás ver el origen de cualquiera de las funciones pasando su nombre a funcions: | Podrás ver el origen de cualquiera de las funciones pasando su nombre a funcions: |