aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fish.cpp
Commit message (Collapse)AuthorAge
* when sourcing config.fish do not redirect stderrGravatar Kurtis Rader2016-02-04
| | | | | | | | | | All versions of fish prior to this change silently discarded anything written to stderr while source a config.fish file. Apparently just to avoid having the source command display an error if the file did not exist. This can mask real problems. So instead this change explicitly checks whether the file is readable and silently skips sourcing it if it isn't. Resolves issue #2702.
* Don't resolve paths for files run from argvGravatar ridiculousfish2016-01-03
| | | | | | | | | Before this change, `fish ./test.fish` would fully resolve the relative paths and symlinks of test.fish, as reported by `status -f`. However `source` would not. With this change, both cases return relative paths. `realpath` may be used by scripts to resolve them. Fixes #2643
* "Stop" should be "stomp" in fish.cpp commentGravatar ridiculousfish2015-12-29
|
* getopt long_options to be constGravatar ridiculousfish2015-12-21
|
* simplify fish_parse_optGravatar Kurtis Rader2015-12-21
| | | | | | | | | | | | | | While investigating issue #2619 my first thought was that the problem had something to do with the "is_interactive_session" global variable. That preliminary conclusion appears to be wrong (i.e., the problem lies elsewhere). However, that hypothesis caused me to look at function "fish_parse_opt" and other mentions of "is_interactive_session". I decided to take the opportunity to simplify and improve the style of "fish_parse_opt" since I just spent an hour reviewing the code that references "is_interactive_session". For example, the "has_cmd" variable isn't really needed. And there is inconsistent whitespace not to mention confusion about bool's versus int's and zero versus NULL.
* Initial implementation of wildcard match refactoringGravatar ridiculousfish2015-08-08
| | | | Not yet turned on.
* Merge branch 'master' into iwyuGravatar David Adam2015-07-26
|
* Migrate source files into src/ directoryGravatar ridiculousfish2015-07-24
This change moves source files into a src/ directory, and puts object files into an obj/ directory. The Makefile and xcode project are updated accordingly. Fixes #1866