aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Fix umask function regexGravatar David Xia2014-07-29
| | | | | | Some grep implementations complain of empty subexpression fixes #1313
* Fix fish_config error with python3Gravatar David Xia2014-07-28
| | | | Closes #1253.
* Teach fish to compute the length of more escape sequences.Gravatar ridiculousfish2014-07-26
| | | | Fixes #1243
* Make abbreviations work correctly with type-aheadGravatar ridiculousfish2014-07-25
| | | | Fixes #1434
* Clean up default environment variables.Gravatar ridiculousfish2014-07-25
| | | | | | This stops unconditionally setting values for HOME and USER, if we find those values in the environment. It also saves about 16KB on OS X, which getpwuid allocates.
* Add support for history --merge to incorporate history changes fromGravatar ridiculousfish2014-07-25
| | | | | | other sessions. Fixes #825
* Avoid using OptionParser to parse bindings in webconfig.pyGravatar Siteshwar Vashisht2014-07-25
| | | | OptionParser eats commaandline arguments passed to bind actions, so avoid using it.
* Allow parse_util_detect_errors to treat incomplete strings as errorsGravatar ridiculousfish2014-07-24
| | | | | Fixes bug where sourcing a file with an unclosed quote would not have a backtrace
* Merge branch 'master' of github.com:fish-shell/fish-shellGravatar ridiculousfish2014-07-23
|\
| * Updated code to parse bindings in webconfig.pyGravatar Siteshwar Vashisht2014-07-23
| |
* | "webconfig.py: Don't allow NoneType as buffer, fallback to bytes.Gravatar adisbladis2014-07-22
|/ | | | Fixes TypeErrors when using bindings tab"
* Select the 4th line of output, instead of the second to last lineGravatar Michishige Kaito2014-07-16
|
* Add grunt completionGravatar Michishige Kaito2014-07-16
|
* Merge pull request #1559 from davidxia/add-vi-mode-docs-fixesGravatar ridiculousfish2014-07-15
|\ | | | | Fix minor syntax and capitalization mistakes in vi mode docs
| * Fix minor syntax and capitalization mistakes in vi mode docsGravatar David Xia2014-07-15
|/
* Add docs for vi modeGravatar David Xia2014-07-15
| | | | fixes #1536
* Fix documentation on variable scopes for `read`Gravatar Kevin Ballard2014-07-14
| | | | | The `read` docs incorrectly asserted that -g was the default for variables. In actuality it behaves the same way that `set` does.
* Fix segfault in status builtinGravatar xzfc2014-07-14
|
* Makefile: just build key_reader with the same objs as fishGravatar David Adam2014-07-14
|
* Turn the 'mode' parameter of environment variables into an enumGravatar ridiculousfish2014-07-13
|
* Merge branch 'fix_set_scopes' of github.com:kballard/fish-shell into ↵Gravatar ridiculousfish2014-07-13
|\ | | | | | | kballard-fix_set_scopes
* | Fix for crash in kill-whole-lineGravatar ridiculousfish2014-07-13
| | | | | | | | Fixes #1548
| * Change how we separate toplevel and global scopesGravatar Kevin Ballard2014-07-13
| | | | | | | | | | | | | | | | | | | | | | | | Instead of introducing a new local scope at the point of `set`, merely push a new local scope at the end of env_init(). This means we have a single toplevel local scope across the lifetime of the fish process, which means that set -l foo bar echo $foo behaves as expected, without modifying the global environment.
| * set: Don't create empty var when erasing indexGravatar Kevin Ballard2014-07-12
| | | | | | | | | | When using `set -e foo[1]` to erase an index, if the variable doesn't already exist, return 1 instead of creating it as an empty variable.
| * Add an optional mode to env_get_string()Gravatar Kevin Ballard2014-07-12
| | | | | | | | | | | | | | | | The mode restricts the scope in which the variable is searched for. Use this new restricted scope functionality in the `set` builtin. This fixes `set -g` to not show local shadowing variable values, and also allows for scoped erasing of slices.
| * set: Print an error when setting a special var in the wrong scopeGravatar Kevin Ballard2014-07-12
| | | | | | | | | | | | | | | | | | When attempting to set a readonly or electric variable in the local or universal scopes, print an appropriate error. Similarly, print an error when setting an electric variable as exported. In most cases this is simply a nicer error instead of the 'read-only' one, but for the 'umask' variable it prevents `set -l umask 0023` from silently changing the global value.
| * Mark COLUMNS/LINES as electric varsGravatar Kevin Ballard2014-07-12
| | | | | | | | | | | | They're dynamically calculated, so they qualify. This also removes them from the list of exported global variables, because they're actually not exported.
| * set: Don't treat toplevel scope the same as globalGravatar Kevin Ballard2014-07-12
| | | | | | | | | | | | | | | | | | | | | | When using the `set` command with the -l flag, if we're at the top level, create a temporary local scope. This makes query/assignment behavior be consistent with the value-printing behavior. This works by marking the current block as needing to pop the environment if a local scope was pushed. I assume this is safe to do. I also assume the current block is the right one to modify, rather than trying to walk up the stack to the root.
| * Rewrite env_exists() for better scope handlingGravatar Kevin Ballard2014-07-12
| | | | | | | | | | | | env_exists() wasn't properly handling multiple scopes in some cases, notably with readonly/electric variables. Rewrite it to operate in a more straightforward fashion.
* | Don't sanity_lose if INTERNAL_BLOCK_NODEs have a null argvGravatar ridiculousfish2014-07-12
| | | | | | | | Fixes #1545
| * Don't allow readonly/electric values to come in through the envGravatar Kevin Ballard2014-07-12
| | | | | | | | | | | | | | | | | | | | When initializing fish, ignore any inherited environment variables that match any of the readonly or electric variable names. This prevents really weird behavior when e.g. fish is launched with COLUMNS already set to something. In that case, testing $COLUMNS within fish behaves normally, but any subprocesses get the value that fish itself had inherited.
| * Fix typo and tweak `set` docsGravatar Kevin Ballard2014-07-12
|/ | | | Move the docs for the `-n` flag to `set` out of the list of scopes.
* Teach while loops to not hang forever with no-executeGravatar ridiculousfish2014-07-11
| | | | Fixes #1543
* bind should not show -k for bindings that are escape sequences, not keysGravatar ridiculousfish2014-07-07
|
* Remove errant debug lineGravatar ridiculousfish2014-07-07
|
* Rename lock_t to mutex_lock_t to fix Solaris compilationGravatar ridiculousfish2014-07-07
| | | | Fixes #1510
* Fixes use-after-free issue.Gravatar Daniel J. Hofmann2014-07-06
| | | | | Calling writer() might fail in which case launch_buff gets freed. This patch prevents the subsequent use of memory after it was freed.
* Switch variable name in tests from foo to something less likely to beGravatar ridiculousfish2014-07-06
| | | | used accidentally
* Must load universal variables earlier, and issue a barrier after erasingGravatar ridiculousfish2014-07-06
| | | | | | one. Fixes #1526
* Fix sense of test in parse_execution to issue a barrier if an externalGravatar ridiculousfish2014-07-06
| | | | command has run
* Add test for issue 1526Gravatar ridiculousfish2014-07-06
|
* Add dropbox completionGravatar Maxim Gonchar2014-07-06
|
* Hopeful fix for Cygwin build (#1530)Gravatar ridiculousfish2014-07-05
|
* Properly handle invalid arguments in builtinsGravatar Siteshwar Vashisht2014-07-02
| | | | Fixes #1522
* Added better build description closes #70Gravatar callesg2014-07-01
| | | The stuff nedded to build on Ubuntu
* env.cpp: allow all users to change $USER and $HOMEGravatar David Adam2014-06-28
| | | | Closes 1425 (https://github.com/fish-shell/fish-shell/issues/1425)
* Also add forward/backward movement in insert modeGravatar Sascha2014-06-27
|
* Provide more useful insert mode mappingsGravatar Sascha2014-06-27
|
* Fix bug for systemd being installed but not PID 1Gravatar Cameron Norman2014-06-20
|
* Merge branch 'death_of_fishd'Gravatar ridiculousfish2014-06-18
|\ | | | | | | Incorporates more removal and cleanup of fishd remnants.