aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/config.fish
Commit message (Collapse)AuthorAge
* Allow overriding fish_term24bit on launchGravatar Fabian Homborg2016-04-18
|
* Move 24bit setup into config.fishGravatar Fabian Homborg2016-04-18
| | | | Fixes #2941.
* Rename "snippets" to "conf" internally, and document them as snippetsGravatar David Adam2016-04-06
| | | | Discussed in #2896.
* Customisable extra configuration, completion and function directoriesGravatar David Adam2016-04-04
| | | | | | | | | | | | | | | - Add options to the autotools build to set the path for the "vendor" or "extra" configuration snippets, functions and completions directories. - Remove the vendor_completions directory from the Xcode build, as these are relocatable and compiling the paths in does not make sense. This allows packaging tools like Homebrew and Nix to use a common directory outside of the main prefix for third-party completions, and to make these available for programmatic discovery through `pkg-config`. Closes #2113
* Only read .fish files in the snippets directoriesGravatar Fabian Homborg2016-03-26
| | | | | This would allow us to add a README and allows users to easily disable something temporarily.
* Move code in etc/config.fish to share/config.fishGravatar Fabian Homborg2016-03-09
| | | | | | | instead add a bit of information on how fish's configuration works for the admin to etc/config.fish. This means that fish is fully functional without /etc, which might be nice for "stateless" systems.
* Migrate abbrs from =-separated to space-separatedGravatar Fabian Homborg2016-03-02
| | | | | | | | | We silently upgrade existing abbreviations and change the separator when saving. This does not yet warn when the user is using the old syntax. Resolves #2051
* Skip over /etc/paths.d entries that don't existGravatar Kevin Ballard2016-02-26
| | | | | | I had an old /etc/paths.d/TeX file that listed a path /usr/texbin that doesn't exist anymore. This was causing the `set PATH` to print a warning.
* Standardize indentation in config.fishGravatar Kevin Ballard2016-02-26
|
* Add functions and configuration snippets hierarchyGravatar Fabian Homborg2016-02-26
| | | | | | | | | | | | This allows "vendors" (i.e. third-party upstreams interested in supporting fish) to add auto-loaded functions and eager-loaded configuration "snippets", while still allowing both the user and the administrator to fully override all of that. This has been inspired by systemd's configuration hierarchy, and implements a similar scheme whereby files with the same name in higher-ranking directories override files in lower-ranking ones. Fixes #1956
* Immediately define command-not-found handlerGravatar Fabian Homborg2015-12-30
| | | | | | | | | | | This skips the weird dance where we'd define a simple handler and then later overwrite with a fancier one, once the first event came in. It turns out that isn't necessary, as it doesn't actually improve startup speed because the checks needed to define fancier handlers are fast. In case we are non-interactive, still define the simple handler, and keep the default handler for users to switch to.
* Make overriding cnf-handler workGravatar Fabian Homborg2015-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See #1925: This allows users to disable the cnf-logic which can be quite slow on small hardware (like a raspberry pi). Squashed commit of the following: commit 742a59e30d8db24b6bb5067d4204d4b5cc01c1c3 Author: Fabian Homborg <FHomborg@gmail.com> Date: Sun Aug 30 18:23:41 2015 +0200 Erase startup cnf-handler early Simplifies the code a bit - in particular it removes the special-casing from the startup handler. commit 638a97e7f31f302b65e044c93c638c03a69e31f5 Author: Fabian Homborg <FHomborg@gmail.com> Date: Mon Aug 24 20:14:46 2015 +0200 Make overriding cnf-handler work Do this by renaming the __fish_command_not_found_handler used during startup to __fish_startup_command_not_found_handler. That allows us to check if __fish_command_not_found_handler has been defined and skip the setup of the normal one. Now disabling cnf-handling can be done via defining an empty __fish_command_not_found_handler in config.fish
* Revert "Source files /etc/profile.d/*.fish at startup"Gravatar ridiculousfish2015-04-14
| | | | | | Per discussion in #1956, back this out until we have consensus. This reverts commit 20a6b65b2536c4f59934a2e52271cfa814a586ea.
* Source files /etc/profile.d/*.fish at startupGravatar ridiculousfish2015-03-24
| | | | Fixes #1956
* Create and use $DATADIR/vendor_completions.d/ for upstream completionsGravatar David Adam2014-10-01
| | | | Closes #1485.
* Manpage completions: store in $XDG_DATA_HOMEGravatar David Adam2014-09-29
| | | | Closes #1343, works towards #1257.
* Set up fish_{function,complete}_path properlyGravatar Kevin Ballard2014-08-22
| | | | | | | In the base config.fish, fish_function_path and fish_complete_path have $__fish_datadir/{functions,completions} added to them if not already present. For some reason they were replacing the final path component instead of being added on to the end.
* Make fish install a command_not_found handler in non-interactive uses.Gravatar ridiculousfish2014-02-20
| | | | | | | | | | | Previously, fish's command_not_found handler would be installed in __fish_config_interactive. Errors that occured early in startup (e.g. in config.fish) or in non-interactive mode would therefore not be reported. With this change, fish now exposes its default cnf handler as __fish_default_command_not_found_handler . config.fish then installs a cnfh that invokes the default. When fish goes interactive, the initial cnfh is overwritten with a fancier one, that may in turn fall back to invoking the default.
* Revert "Ensure that UTF-8 works if LANG contains it."Gravatar Konrad Borowski2013-12-17
| | | | | | | | | | | | | This was a really stupid change that I should have tested more before pushing. It broke any non-interactive usage, such as SSH, fish config, or parsing the script output, as config.fish is loaded for everything. There are no issues with different terminal emulators, so this change will be pushed in the future, but only running in interactive mode. I apologize for any issues caused by this commit. This reverts commit d61adfbc532e856242730e198e492a2845754a91.
* Ensure that UTF-8 works if LANG contains it.Gravatar Konrad Borowski2013-12-15
| | | | | | | | | | Some people like to have their terminals claim UTF-8 support when their terminals actually are set to another encoding. As nobody appears to understand this, I have made a change to automatically fix the encoding problems if possible. This uses ISO 2022 sequences in order to dynamically change the encoding. Fixes #692. Fixes #895. Fixes possible future issues about this.
* Prepend user paths even if they already exist in system pathGravatar Jay Weisskopf2013-12-10
| | | Fixes #1099
* Fix to respect the order of paths in /etc/paths (oops)Gravatar ridiculousfish2013-08-25
|
* Rearrange the PATH to respect the order defined in /etc/paths (#927) andGravatar ridiculousfish2013-08-25
| | | | to prepend it to $PATH instead of appending it (#950)
* Actually commit the no-scope-shadowing to . functionGravatar ridiculousfish2013-08-17
|
* Deprecate "." command. Fixes #310.Gravatar Konrad Borowski2013-08-14
| | | | | Needs documentation (for the new name), but manages to move . to source, while preserving compatibility.
* Put user paths at beginningGravatar Konrad Borowski2013-06-22
|
* Support /etc/paths and /etc/paths.d/* on OS XGravatar ridiculousfish2013-02-22
| | | | https://github.com/fish-shell/fish-shell/issues/417
* Large set of changes to how PATH is handled. Changed fish to no longer ↵Gravatar ridiculousfish2013-02-19
| | | | | | modify PATH in share/config.fish. Introduced variable fish_user_paths, and a glue function __fish_reconstruct_path that splices together PATH with fish_user_paths. Changed fish to no longer validate changes to PATH unless the paths are new (i.e. don't recheck what's already there). Modified certain sets to store const wchar_t instead of wcstring to save a few allocations. https://github.com/fish-shell/fish-shell/issues/527
* Move autogenerated completions to ~/.config/fish/generated_completions/Gravatar ridiculousfish2013-02-17
| | | | https://github.com/fish-shell/fish-shell/issues/576
* Tweak config.fish to only modify PATH once, for performanceGravatar ridiculousfish2013-02-01
|
* Large set of changes related to making fish relocatable, and improving the ↵Gravatar ridiculousfish2012-07-08
build and install story. - etc/config.fish and share/config.fish are now "universal" and no longer reference install paths or need to be touched by autotools. They've been removed from config.fish.in to config.fish. - fish now attempts to determine __fish_datadir and __fish_sysconfdir relative to the path of the fish executable itself (typically by walking up one directory). This means that you can copy the directory hierarchy around and things will still work. The compiled-in paths are used as a backup. - The fish Xcode project now can build fish natively, without needing autotools. - Version bumped to 2.0