aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/config.fish
Commit message (Collapse)AuthorAge
* 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