aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Prompt sample: Debian chroot environmentGravatar Maurizio De Santis2014-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | When you chroot in Debian, bash shows the chroot environment in the prompt: ```bash ... if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then debian_chroot=$(cat /etc/debian_chroot) fi PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' ... ``` This is the effect: ``` (chroot_env) user@host:~# ``` It is useful when chrooting, since usually the hostname remains the same and thus you can't distinguish where you are.
* Use adjusted_pos when determining the token for tab completingGravatar ridiculousfish2014-05-03
| | | | redirecitons, per #1296
* fishd to link against fish_version.o in Xcode buildGravatar ridiculousfish2014-05-02
|
* Simple test for completing redirectionsGravatar ridiculousfish2014-05-02
|
* Use precompiled parse files.Gravatar Konrad Borowski2014-05-02
|
* fishd requires fish_version.o.Gravatar Konrad Borowski2014-05-02
|
* Fix header name in fishd.cpp.Gravatar Konrad Borowski2014-05-02
|
* Correctly complete redirections. Fixes #1296Gravatar ridiculousfish2014-05-02
|
* Add fish_version to Xcode projectGravatar ridiculousfish2014-05-02
|
* Properly check for miliseconds during screen updateGravatar Konrad Borowski2014-05-01
| | | | | | This removes undefined behavior in the previous code by properly checking for miliseconds (actually typing proper names, not abusing pointer arithmetics).
* Fix handle leak in get_description()Gravatar Konrad Borowski2014-05-01
|
* Shorten compilation timesGravatar Konrad Borowski2014-05-01
| | | | | | | | | | Now fish shell stores version is a small file called by other files. This means that a slight change which modifies one file won't cause many of files to recompile. The compilation unit is intentionally small, this is by design. The smaller it is, the faster it will recompile, and it will be compiled a lot.
* Fix memory leak when displaying bind list.Gravatar Konrad Borowski2014-05-01
| | | | This also removes duplication from the code.
* Save a memory allocation in append_formatvGravatar ridiculousfish2014-04-30
|
* White is not identical to normalGravatar Konrad Borowski2014-04-30
| | | | | This makes white work properly in white terminals when used for `fish_color_*` variables. It's probably silly thing this small mistake breaks, to be honest, but it's still a bug.
* Change terminology in docs from 'environment variables' -> 'shell variables'Gravatar Alan Thompson2014-04-29
|
* use mktemp(1) to generate temporary file namesGravatar David Adam2014-04-28
| | | | | | | | | | | | | Fix for CVE-2014-2906. Closes a race condition in funced which would allow execution of arbitrary code; closes a race condition in psub which would allow alternation of the data stream. Note that `psub -f` does not work (#1040); a fix should be committed separately for ease of maintenance. Closes #1437
* Check effective credentials of socket peersGravatar David Adam2014-04-28
| | | | | | | | | Fix for CVE-2014-2905. Code for getpeereid() on non-BSD systems imported from the PostgreSQL project under a BSD-style license. Closes #1436
* Fix a duplicated variable, and defeat some warnings in fish_testsGravatar ridiculousfish2014-04-27
|
* Squelch some more warnings on LinuxGravatar ridiculousfish2014-04-27
|
* Silence unused return value warning in FATAL_EXITGravatar ridiculousfish2014-04-27
|
* Attempt to silence some warningsGravatar ridiculousfish2014-04-27
|
* Fix filehandle leak in proc_get_jiffiesGravatar Konrad Borowski2014-04-26
|
* Migrate universal variables to env_var_t structure. EncapsulateGravatar ridiculousfish2014-04-25
| | | | universal variable storage into a class for better testability.
* Remove useless return.Gravatar Konrad Borowski2014-04-22
|
* functions on topGravatar David Flores2014-04-19
|
* added docker completion fileGravatar David Flores2014-04-19
|
* Set fish_vi_key_bindings to start in insert mode by defaultGravatar Maxim Gonchar2014-04-19
| | | | | | Add optional argument for fish_vi_key_bindings to set desired initial mode: > fish_vi_key_bindings default
* Remove a debugging statement (oops)Gravatar ridiculousfish2014-04-18
|
* Reduce the iterations in the iothread test to something more reasonable.Gravatar ridiculousfish2014-04-17
| | | | Remove an unnecessary lock.
* Simplify threading implementation. Removed iothread array. Threads nowGravatar ridiculousfish2014-04-17
| | | | | run detached (no more pthread_join), and will not exit until they see that all requests have been dequeued.
* Remove the close_old field from io_fd_t, which is never actuallyGravatar ridiculousfish2014-04-16
| | | | | respected - a bug dating back to fish 1.x! The fd that would be closed is actually closed in io_cleanup_fds().
* Remove the now-unused parser_t::job_createGravatar ridiculousfish2014-04-14
|
* Eliminate the parser_use_ast switch, which does nothing, andGravatar ridiculousfish2014-04-14
| | | | exec_no_exec, which also does nothing in the new parser
* Minor cleanup of redirection functionsGravatar ridiculousfish2014-04-11
|
* fix gem --version/--help tab completionsGravatar Fabian Ruff2014-04-06
|
* Bind 0 to beginning-of-line in vi mode.Gravatar Steven Allen2014-04-06
|
* Move cursor back on insert mode exit.Gravatar Steven Allen2014-04-06
| | | | Make this consistent with vi.
* Remove an unnecessary parse pass in highlight.cpp (oops)Gravatar ridiculousfish2014-04-05
|
* Use `source` instead of `.` in autoload.cpp.Gravatar Konrad Borowski2014-04-04
|
* Set the job property of block_t before expanding arguments associatedGravatar ridiculousfish2014-04-02
| | | | with the job, fixing psub. Fixes #1394
* Properly detect when MQ is enabled for Mercurial completion.Gravatar Daniel Matz2014-03-31
|
* Properly complete Mercurial bookmarks when only one bookmark exists.Gravatar Daniel Matz2014-03-31
| | | | | | The if statement checking the output of hg bookmarks uses two conditions joined by the or keyword. However, only the first part was being used. Wrapping the two statements with begin and end properly combines them.
* Add fallback for label completion in older versions of Mercurial.Gravatar Daniel Matz2014-03-31
|
* Replace use of xargs with command substitution in Mercurial completion.Gravatar Daniel Matz2014-03-31
|
* Add the __fish prefix to all Mercurial completion functions.Gravatar Daniel Matz2014-03-31
|
* Remove unnecessary use of uniq in Mercurial completion.Gravatar Daniel Matz2014-03-31
| | | | Fish already takes care of duplicate completions.
* Use the current commandline token for Mercurial filename completion.Gravatar Daniel Matz2014-03-31
| | | | | The token variable was being used, but I must have accidentally deleted its definition while I was working on the original version of the file.
* Use local scope for variables in Mercurial completion functions.Gravatar Daniel Matz2014-03-31
|
* Improve Mercurial command completion.Gravatar Daniel Matz2014-03-31
| | | | | Rewrote the completion file by hand. Added completion of files, bookmarks, revision labels, etc.