fish-shell/share/functions
Peter Ammon dff454b1c7
Rework git detection for macOS
fish by default shows a git-aware prompt. Recall that on macOS, there are
two hazards we must avoid:

1. The command `/usr/bin/git` is installed by default. This command is not
actually git; instead it's a stub which pops open a dialog proposing to
install Xcode command line tools. Not a good experience.
2. Even after installing these tools, the first run of any `git` or other
command may be quite slow, because it's now a stub which invokes `xcrun`
which needs to populate a cache on a fresh boot. Another bad experience.

We previously attempted to fix this by having `xcrun` print out its cache
path and check if there's a file there. This worked because `xcrun` only
lazily created that file. However, this no longer works: `xcrun` now
eagerly creates the file, and only lazily populates it. Thus we think git
is ready, when it is not.

(This can be reproduced by running `xcrun --kill-cache` and then running
the default fish shell prompt - it will be slow).

Change the fix in the following way: using sh, run `/usr/bin/git --version;
touch /tmp/__fish_git_ready` in the background. Then detect the presence of
/tmp/__fish_git_ready as a mark that git is ready.

Fixes #10535
2024-11-09 12:46:06 -08:00
..
__fish_any_arg_in.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_anyeditor.fish __fish_anyeditor: Add missing -- separator 2024-07-23 17:04:23 +02:00
__fish_anypager.fish __fish_anypager: remove bat from default choice 2024-09-14 07:21:56 +02:00
__fish_anypython.fish anypython: Add more versions 2024-01-27 18:47:38 +01:00
__fish_append.fish Don't use abbreviated long options 2020-09-19 11:47:41 +02:00
__fish_apropos.fish Work around BSD man calling pager when stdout is not a TTY 2024-10-30 04:58:50 +01:00
__fish_argcomplete_complete.fish Run fish_indent on share/**.fish 2021-08-01 18:59:45 +02:00
__fish_cache_sourced_completions.fish Format __fish_cache_sourced_completions 2024-02-26 16:17:47 +01:00
__fish_cancel_commandline.fish Speed up default ^C action considerably 2020-06-29 19:41:33 -05:00
__fish_change_key_bindings.fish Properly remove Vi mode when switching to different bindings 2024-10-26 08:22:19 +02:00
__fish_commandline_is_singlequoted.fish Also fix tokenizer_state in bracketed paste path 2021-04-20 15:29:28 +02:00
__fish_complete_atool_archive_contents.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_complete_bittorrent.fish added descriptions to __fish_print_addresses 2021-03-08 17:47:29 +01:00
__fish_complete_blockdevice.fish Three more of the same test -z thing. 2022-08-02 00:42:37 -07:00
__fish_complete_cd.fish Revert "Fix cd completions if a directory exists in $CDPATH and $PWD" 2017-10-16 19:33:38 +02:00
__fish_complete_clang.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_complete_command.fish Fix __fish_complete_command with multiline tokens 2024-04-09 00:07:27 +02:00
__fish_complete_convert_options.fish Don't use abbreviated long options 2020-09-19 11:47:41 +02:00
__fish_complete_directories.fish __fish_complete_directories: Remove --foo= from token 2023-03-27 22:57:34 +02:00
__fish_complete_docutils.fish Fixes #8924 via __fish_complete_suffix overhaul 2023-03-12 22:07:44 -05:00
__fish_complete_freedesktop_icons.fish Simplify freedesktop icon completions 2024-08-18 12:22:39 +02:00
__fish_complete_ftp.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
__fish_complete_gpg.fish Silence GPG warnings about directory permissions 2024-11-04 16:35:24 -06:00
__fish_complete_gpg_key_id.fish Restyle codebase 2022-06-16 18:43:28 +02:00
__fish_complete_gpg_user_id.fish completions/gpg: list only secret for gpg options that manage secret keys 2022-02-19 13:48:20 +01:00
__fish_complete_group_ids.fish Complete IDs for unix users and groups that start with _ 2020-03-10 20:56:45 +01:00
__fish_complete_groups.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_complete_job_pids.fish Add a function to complete job PIDs. 2015-11-27 16:07:16 -08:00
__fish_complete_list.fish fix(completion): unescape strings for __fish_complete_list 2024-10-05 23:32:59 +02:00
__fish_complete_lpr.fish Ensure short option description is not overridden 2022-02-02 18:19:15 -08:00
__fish_complete_lpr_option.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_complete_magick.fish Completion for magick (#10307) 2024-04-27 11:45:12 -05:00
__fish_complete_man.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_complete_mount_opts.fish Run fish_indent on all non-test .fish files 2021-11-23 09:49:45 +01:00
__fish_complete_mysql.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_complete_netcat.fish Fix extra or missing newlines at end of file in our fish scripts 2020-08-09 23:53:46 +02:00
__fish_complete_path.fish __fish_complete_path: Also use an empty command 2023-02-14 17:09:58 +01:00
__fish_complete_pg_database.fish Prevent loading of psqlrc when listing databases 2024-05-20 14:04:38 +02:00
__fish_complete_pg_user.fish Prevent loading of psqlrc when listing databases 2024-05-20 14:04:38 +02:00
__fish_complete_pgrep.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_complete_pids.fish Fix extra or missing newlines at end of file in our fish scripts 2020-08-09 23:53:46 +02:00
__fish_complete_ppp_peer.fish reformat all fish scripts 2016-11-27 21:27:22 -08:00
__fish_complete_proc.fish Remove unused --inherit-variable 2020-04-21 21:11:26 +02:00
__fish_complete_ssh.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_complete_subcommand.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_complete_suffix.fish Fixes #8924 via __fish_complete_suffix overhaul 2023-03-12 22:07:44 -05:00
__fish_complete_user_at_hosts.fish Fix extra or missing newlines at end of file in our fish scripts 2020-08-09 23:53:46 +02:00
__fish_complete_user_ids.fish Complete IDs for unix users and groups that start with _ 2020-03-10 20:56:45 +01:00
__fish_complete_users.fish Use the new string split --fields feature 2020-04-12 14:01:21 -07:00
__fish_complete_wireshark.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_complete_zfs_mountpoint_properties.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
__fish_complete_zfs_pools.fish Reformat all files 2019-05-05 12:09:25 +02:00
__fish_complete_zfs_ro_properties.fish completion helper functions: do not use gettext 2020-03-06 22:23:50 +01:00
__fish_complete_zfs_rw_properties.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
__fish_complete_zfs_write_once_properties.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
__fish_concat_completions.fish fish_indent: Cleanup all *.fish files not in tests 2024-09-17 19:11:42 +02:00
__fish_config_interactive.fish Remove obsolete optimization in default binding initialization 2024-10-26 08:21:12 +02:00
__fish_contains_opt.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_crux_packages.fish dogfood string split -f 2020-04-20 22:39:48 +02:00
__fish_cursor_konsole.fish reformat all fish scripts 2016-11-27 21:27:22 -08:00
__fish_cursor_xterm.fish __fish_cursor_xterm: Ignore unknown cursor settings 2023-03-31 20:07:54 +02:00
__fish_describe_command.fish Fix apropos completions 2022-10-28 10:01:35 -07:00
__fish_echo.fish Fix __fish_list_current_token and friends for multiline commandlines 2024-04-12 12:00:24 +02:00
__fish_edit_command_if_at_cursor.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
__fish_first_token.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_git_prompt.fish Move __fish_git_prompt -> fish_git_prompt 2019-02-10 14:44:50 +01:00
__fish_gnu_complete.fish Fix extra or missing newlines at end of file in our fish scripts 2020-08-09 23:53:46 +02:00
__fish_hg_prompt.fish Rename __fish_hg_prompt -> fish_hg_prompt 2019-02-10 14:44:50 +01:00
__fish_indent.fish __fish_indent: Cache fish_indent location 2024-10-14 19:01:41 -05:00
__fish_is_first_arg.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_is_first_token.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_is_git_repository.fish Remove use of caret redirection from share/* 2018-04-01 13:42:38 -07:00
__fish_is_nth_token.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_is_switch.fish Reformat all files 2019-05-05 12:09:25 +02:00
__fish_is_token_n.fish Make __fish_is_nth_token and __fish_nth_token private again 2022-02-13 10:45:38 +01:00
__fish_is_zfs_feature_enabled.fish Simplify and fix __fish_is_zfs_feature_enabled (#9939) 2023-08-09 17:28:01 +02:00
__fish_list_current_token.fish Fix __fish_list_current_token and friends for multiline commandlines 2024-04-12 12:00:24 +02:00
__fish_make_cache_dir.fish Speed up __fish_make_cache_dir 2024-05-30 17:03:03 -05:00
__fish_make_completion_signals.fish __fish_make_completion_signals: Check for "kill" 2023-01-29 14:44:59 +01:00
__fish_man_page.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_md5.fish Avoid invoking extra subshell in __fish_md5 2024-04-05 15:26:48 +02:00
__fish_move_last.fish Fix extra or missing newlines at end of file in our fish scripts 2020-08-09 23:53:46 +02:00
__fish_no_arguments.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_not_contain_opt.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_npm_helper.fish completions: don't treat token at cursor as flag 2024-07-23 11:47:58 +02:00
__fish_nth_token.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_number_of_cmd_args_wo_opts.fish Fix extra or missing newlines at end of file in our fish scripts 2020-08-09 23:53:46 +02:00
__fish_paginate.fish Add __fish_anypager helper 2023-11-20 17:16:35 +01:00
__fish_parent_directories.fish Reformat all files 2019-05-05 12:09:25 +02:00
__fish_paste.fish Strip control characters from pasted text 2024-05-14 23:14:49 +02:00
__fish_prepend_sudo.fish Provide functions to toggle commandline prefix/suffix 2021-06-23 20:51:20 +02:00
__fish_prev_arg_in.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_preview_current_file.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_print_addresses.fish added descriptions to __fish_print_addresses 2021-03-08 17:47:29 +01:00
__fish_print_apt_packages.fish print_apt_packages: Go back to apt-cache for non-installed packages 2023-08-22 22:17:22 +02:00
__fish_print_cmd_args.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_print_cmd_args_without_options.fish functions/__fish_print_cmd_args_without_options: Stringify 2019-01-26 19:20:16 +01:00
__fish_print_commands.fish Fix help thinking some docs are commands 2021-11-25 21:25:46 +01:00
__fish_print_debian_apache_confs.fish reformat all fish scripts 2016-11-27 21:27:22 -08:00
__fish_print_debian_apache_mods.fish reformat all fish scripts 2016-11-27 21:27:22 -08:00
__fish_print_debian_apache_sites.fish reformat all fish scripts 2016-11-27 21:27:22 -08:00
__fish_print_encodings.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
__fish_print_eopkg_packages.fish Rename existing cache files 2024-01-21 14:18:50 +01:00
__fish_print_filesystems.fish feat: more completion for umount (#8908) 2022-04-26 21:11:54 +02:00
__fish_print_gpg_algo.fish refactor gpg.fish completions 2019-10-29 19:07:35 +01:00
__fish_print_groups.fish Added completions/translations for zfs and zpool 2017-12-21 16:39:06 +01:00
__fish_print_help.fish __fish_print_help: Make formatting more man-like 2024-10-03 11:29:24 +02:00
__fish_print_hostnames.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_print_interfaces.fish Use path basename 2023-04-26 19:38:10 +02:00
__fish_print_lpr_options.fish Remove use of caret redirection from share/* 2018-04-01 13:42:38 -07:00
__fish_print_lpr_printers.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_print_modules.fish Remove use of caret redirection from share/* 2018-04-01 13:42:38 -07:00
__fish_print_mounted.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
__fish_print_opkg_packages.fish __fish_print_packages: Extract the rest 2020-12-22 17:10:02 +01:00
__fish_print_packages.fish __fish_print_packages: Extract the rest 2020-12-22 17:10:02 +01:00
__fish_print_pacman_packages.fish Rename existing cache files 2024-01-21 14:18:50 +01:00
__fish_print_pacman_repos.fish functions/__fish_print_pacman_repos.fish: fix 2019-10-26 18:11:29 +02:00
__fish_print_pipestatus.fish Fix typo in __fish_print_pipestatus 2021-03-07 12:51:57 +01:00
__fish_print_pkg_add_packages.fish __fish_print_packages: Break apart 2020-12-22 17:10:02 +01:00
__fish_print_pkg_packages.fish Run fish_indent on share/**.fish 2021-02-08 07:31:33 +01:00
__fish_print_port_packages.fish Rename existing cache files 2024-01-21 14:18:50 +01:00
__fish_print_portage_available_pkgs.fish completions/portage: Fix errors with unreadable files 2023-01-19 17:13:13 +01:00
__fish_print_portage_installed_pkgs.fish completions/portage: Fix errors with unreadable files 2023-01-19 17:13:13 +01:00
__fish_print_portage_packages.fish __fish_print_packages: Extract the rest 2020-12-22 17:10:02 +01:00
__fish_print_portage_repository_paths.fish completions/portage: Follow symbolic links in repos.conf 2024-10-04 10:23:58 +02:00
__fish_print_rpm_packages.fish Rename existing cache files 2024-01-21 14:18:50 +01:00
__fish_print_service_names.fish Remove use of caret redirection from share/* 2018-04-01 13:42:38 -07:00
__fish_print_svn_rev.fish reformat all fish scripts 2016-11-27 21:27:22 -08:00
__fish_print_users.fish refactor the __*_users functions 2017-04-23 20:08:40 -07:00
__fish_print_VBox_vms.fish Add __fish_print_VBox_vms function 2016-12-21 14:51:48 +01:00
__fish_print_windows_drives.fish Run fish_indent over new Windows completions 2022-01-26 22:02:23 -08:00
__fish_print_windows_users.fish Run fish_indent over new Windows completions 2022-01-26 22:02:23 -08:00
__fish_print_xbps_packages.fish Rename existing cache files 2024-01-21 14:18:50 +01:00
__fish_print_xdg_applications_directories.fish Fix xdg mimetype completion 2020-01-22 16:33:56 +01:00
__fish_print_xdg_mimetypes.fish Fix xdg mimetype completion 2020-01-22 16:33:56 +01:00
__fish_print_xwindows.fish Reformat all files 2019-05-05 12:09:25 +02:00
__fish_print_zfs_snapshots.fish Reformat 2020-11-22 14:39:48 +01:00
__fish_ps.fish Remove two calls to builtin realpath 2023-09-29 16:47:00 +02:00
__fish_pwd.fish __fish_pwd: Just always define the cygwin version 2021-04-19 18:58:00 +02:00
__fish_seen_argument.fish Patch __fish_seen_argument to support --foo=arg 2024-07-14 21:05:52 -05:00
__fish_seen_subcommand_from.fish __fish_seen_subcommand_from: Fix error when there's no second token 2024-08-08 21:20:07 +02:00
__fish_set_locale.fish Also read /etc/default/locale for the locale 2021-12-18 08:57:22 +01:00
__fish_shared_key_bindings.fish Default bindings for token movement commands 2024-10-13 14:53:45 +02:00
__fish_should_complete_switches.fish Reformat all files 2019-05-05 12:09:25 +02:00
__fish_svn_prompt.fish Rename __fish_svn_prompt -> fish_svn_prompt 2019-02-10 14:44:50 +01:00
__fish_systemctl.fish completion: adopt commandline -x replacing deprecated -o 2024-01-27 09:28:06 +01:00
__fish_systemctl_services.fish dogfood string split -f 2020-04-20 22:39:48 +02:00
__fish_systemd_machine_images.fish reformat all fish scripts 2016-11-27 21:27:22 -08:00
__fish_systemd_machines.fish Revert "Move __fish_systemd_machines into machinectl completion script" 2019-12-09 21:07:21 +01:00
__fish_toggle_comment_commandline.fish fish_toggle_commandline: minor test cleanup 2022-08-02 00:30:06 -07:00
__fish_tokenizer_state.fish __fish_tokenizer_state: replace "str" with "state" (#8550) 2021-12-13 02:42:16 -08:00
__fish_use_subcommand.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_vcs_prompt.fish Rename __fish_vcs_prompt -> fish_vcs_prompt 2019-02-10 14:44:50 +01:00
__fish_whatis.fish Fix broken __fish_whatis 2024-06-24 14:30:37 -05:00
__fish_whatis_current_token.fish Fix __fish_list_current_token and friends for multiline commandlines 2024-04-12 12:00:24 +02:00
__ssh_history_completions.fish completion/ssh-copy-id: add completion (#9675) 2023-03-22 12:24:18 -05:00
__terlar_git_prompt.fish Fix format string 2022-06-08 21:23:43 +02:00
_validate_int.fish Make more of the functions in share/functions print error messages to stderr 2022-04-04 18:26:14 +02:00
abbr.fish Re-implement abbreviations as a built-in 2022-12-10 15:29:03 -08:00
alias.fish alias: Escape the function name when replacing 2023-06-17 07:46:07 +02:00
cd.fish functions/cd: Optimize check for too many args 2023-07-11 18:01:29 +02:00
cdh.fish Three more of the same test -z thing. 2022-08-02 00:42:37 -07:00
contains_seq.fish Fix extra or missing newlines at end of file in our fish scripts 2020-08-09 23:53:46 +02:00
diff.fish Colourise diff(1) output, if supported (#7308) 2020-09-04 18:43:09 +02:00
dirh.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
dirs.fish Fix dirs returns false when $dirstack is empty 2021-08-09 12:43:03 +02:00
down-or-search.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
edit_command_buffer.fish edit_command_buffer: speed up setting cursor position by line/column 2024-11-01 20:09:55 +01:00
export.fish Fix export returning 1 on success 2017-10-01 01:11:17 -07:00
fish_add_path.fish fish_add_path: Be more informative in verbose mode 2024-06-06 16:47:39 +02:00
fish_breakpoint_prompt.fish Revert "Switch to bare vars in our math invocations" 2017-09-09 23:35:47 -07:00
fish_clipboard_copy.fish Try to use the fish_indent that corresponds to the fish binary 2024-10-10 05:18:35 +02:00
fish_clipboard_paste.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
fish_command_not_found.fish Move executable-check to C++ 2022-03-31 15:16:01 +02:00
fish_commandline_append.fish Provide functions to toggle commandline prefix/suffix 2021-06-23 20:51:20 +02:00
fish_commandline_prepend.fish Add feature to fish_commandline_prepend and fix minor issue (#9261) 2022-10-06 14:27:28 -05:00
fish_config.fish fish_config: Find fish via fish-path 2024-10-15 13:09:02 +02:00
fish_default_key_bindings.fish Don't reset the fish_cursor_selection_mode in fish_default_key_bindings 2024-10-26 08:25:12 +02:00
fish_default_mode_prompt.fish Shorten more. 2022-01-27 16:21:22 -08:00
fish_delta.fish Move generated completions to cache directory 2024-04-27 10:39:30 +02:00
fish_fossil_prompt.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
fish_git_prompt.fish Rework git detection for macOS 2024-11-09 12:46:06 -08:00
fish_greeting.fish fish_greeting: show private mode message if $fish_greeting is empty list 2021-05-05 18:53:51 +02:00
fish_hg_prompt.fish fish_hg_prompt should return 1 when not in a mercurial directory 2020-04-19 04:24:28 +02:00
fish_hybrid_key_bindings.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
fish_is_root_user.fish Add $EUID and use it in fish_is_root_user 2022-04-15 15:58:39 +02:00
fish_job_summary.fish Don't print multiple summaries for multiline jobs 2024-04-30 14:00:06 +02:00
fish_mode_prompt.fish Added default mode prompt function (#3727) 2017-01-12 16:07:41 +01:00
fish_opt.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
fish_print_git_action.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
fish_print_hg_root.fish Fix extra or missing newlines at end of file in our fish scripts 2020-08-09 23:53:46 +02:00
fish_prompt.fish default prompt: Use same status color as default theme 2022-07-19 17:05:48 +02:00
fish_status_to_signal.fish Shorten more. 2022-01-27 16:21:22 -08:00
fish_svn_prompt.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
fish_title.fish Remove workarounds for Emacs ansi-term 2024-04-03 13:09:27 +02:00
fish_update_completions.fish Fix cleanup of autogenerated completions 2024-04-27 10:54:31 +02:00
fish_vcs_prompt.fish feat: add support for fossil-scm in prompt (#9500) 2023-01-29 16:54:39 +01:00
fish_vi_cursor.fish Fix regression causing fish_cursor_external to be ignored 2024-11-06 07:24:00 +01:00
fish_vi_key_bindings.fish Extract function for changing key bindings 2024-10-26 08:21:12 +02:00
funced.fish Try to use the fish_indent that corresponds to the fish binary 2024-10-10 05:18:35 +02:00
funcsave.fish funcsave: Always use local $funcdir 2023-10-19 22:36:58 +02:00
grep.fish reformat all fish scripts 2016-11-27 21:27:22 -08:00
help.fish help: Print external URL if no browser was found 2024-11-06 18:48:57 +01:00
history.fish add history append subcommand 2024-04-15 08:31:16 +02:00
isatty.fish Use the newly fixed test -t in isatty 2020-09-16 21:02:59 +02:00
la.fish Use --almost-all in la function 2021-12-02 02:22:40 -08:00
ll.fish Remove completion files for ls aliases; just use function --wraps 2021-04-16 17:40:55 +02:00
ls.fish Avoid auto-colorization of ls output if CLICOLOR_FORCE is set 2024-05-23 20:50:23 -05:00
man.fish man: Reroute ".",":","[" to the proper names 2023-02-07 19:23:26 +01:00
N_.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
nextd-or-forward-token.fish Default bindings for token movement commands 2024-10-13 14:53:45 +02:00
nextd.fish Make more of the functions in share/functions print error messages to stderr 2022-04-04 18:26:14 +02:00
open.fish open: Don't run xdg-open in the background 2023-10-04 15:57:32 +02:00
popd.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
prevd-or-backward-token.fish Default bindings for token movement commands 2024-10-13 14:53:45 +02:00
prevd.fish Make more of the functions in share/functions print error messages to stderr 2022-04-04 18:26:14 +02:00
prompt_hostname.fish functions: handle hostname starting with dash 2024-02-22 21:21:31 +08:00
prompt_login.fish prompt_* functions: shorten their descriptions 2022-01-22 20:06:37 -08:00
prompt_pwd.fish prompt_pwd: Fix missing -- 2023-12-25 18:46:23 +01:00
psub.fish share/functions: account for the possibility of mktemp failure. 2020-11-14 15:57:42 +01:00
pushd.fish Make more of the functions in share/functions print error messages to stderr 2022-04-04 18:26:14 +02:00
realpath.fish Make more of the functions in share/functions print error messages to stderr 2022-04-04 18:26:14 +02:00
seq.fish Make more of the functions in share/functions print error messages to stderr 2022-04-04 18:26:14 +02:00
setenv.fish fix setenv and add unit tests 2017-04-05 15:31:13 -07:00
suspend.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
trap.fish Restyle fishscript and python 2023-06-01 18:20:19 +02:00
umask.fish umask: Correctly handle empty symbolic value 2023-12-31 19:39:23 +01:00
up-or-search.fish Shorten more. 2022-01-27 16:21:22 -08:00
vared.fish Fix vared of indexed value 2022-04-23 16:35:52 -07:00