ridiculousfish
e7cbcc83a4
Implemented history deletion from fish_config
...
Fixes https://github.com/fish-shell/fish-shell/issues/250
2012-07-27 00:31:00 -07:00
ridiculousfish
390700ca71
Merge pull request #249 from kballard/git_prompt_showupstream
...
Fix showupstream behavior in __fish_git_prompt
2012-07-27 00:26:23 -07:00
Kevin Ballard
b604321169
Fix showupstream behavior in __fish_git_prompt
...
The __fish_git_prompt_show_upstream helper function was inadvertently
looking at the misnamed variable __fish_git_prompt_show_upstream in some
cases, including when implementing the bash.showUpstream override.
Fixing the script to use __fish_git_prompt_showupstream triggered an
infinite loop because the --on-variable hook does not distinguish
between local and global variables.
Update the script to set a completely different local variable to
__fish_git_prompt_showupstream and to override this local variable for
bash.showUpstream.
Also update the code that looks at bash.showUpstream to also read
bash.showupstream, because the bash script appears to have a bug where
it looks for bash.showupstream despite documenting bash.showUpstream.
2012-07-26 15:32:27 -07:00
ridiculousfish
62c49f13ce
Switch from std::list to std::vector in a few places to reduce compiled code size
2012-07-24 22:32:11 -07:00
Colin Woodbury
eba75dbc2e
Fixed two small spelling mistakes
...
- Saw these during normal usage today.
"parens" or "parenthesis" was spelled as "parans".
Fixed two instances of this to "parenthesis".
2012-07-24 22:39:03 +09:00
Siteshwar Vashisht
32d2d0f0d0
Minor refactoring and fixed a bug in history function
2012-07-24 04:35:37 +05:30
maxfl
81e0342bf6
index range doc
2012-07-24 03:56:34 +05:30
ridiculousfish
56599621cc
Make add-shell correctly handle /etc/shells files that do not end with newlines
...
Fixes https://github.com/fish-shell/fish-shell/issues/77
2012-07-22 17:00:44 -07:00
ridiculousfish
261bf12c91
Lots of miscellaneous cleanup. Unified the path_get_cd_path, path_allocate_cd_path, etc. functions
2012-07-20 22:11:05 -07:00
ridiculousfish
b08fb86637
Renamed env_vars to env_vars_snapshot_t
...
Cleanup of non-wcstring version of path_get_path
2012-07-20 20:39:31 -07:00
ridiculousfish
b290fd33b9
Switch to more uses of wcstokenizer from wcstok()
...
Work towards cleaning up path_get_path
2012-07-20 15:01:56 -07:00
ridiculousfish
966bbd476f
Use weak linking of wcsdup and wcscasecmp on OS X
...
Fixes https://github.com/fish-shell/fish-shell/issues/240
2012-07-20 14:33:29 -07:00
Siteshwar Vashisht
cf9bfe9e66
Print fish prompt when command is longer than a line
...
Fix for https://github.com/fish-shell/fish-shell/issues/239
2012-07-21 00:24:48 +05:30
ridiculousfish
bb4a05032b
Merge branch 'index_range'
2012-07-19 10:59:11 -07:00
ridiculousfish
7039e01136
Fixed fish_pager build on Xcode (it was building fish_indent instead. D'oh!)
2012-07-18 12:28:26 -07:00
ridiculousfish
e9f43f1097
Changes to make fish use the relocated fishd instead of the installed one, if it exists
2012-07-18 10:50:56 -07:00
ridiculousfish
150789690f
Merge pull request #234 from maxfl/completions
...
pacmatic and dmesg completions
2012-07-18 10:49:28 -07:00
Siteshwar Vashisht
e284233013
Don't add space at the end of tab completion for cd
...
Fix for https://github.com/fish-shell/fish-shell/issues/235
2012-07-18 19:48:19 +05:30
ridiculousfish
d06d6c6964
Various changes to reduce fish's compiled code size
...
OS X release build executable size dropped from 672k to 511k
2012-07-17 12:47:01 -07:00
ridiculousfish
977a4477f6
Fix for process completion on Linux
2012-07-16 12:19:41 -07:00
ridiculousfish
33c6410809
Implemented process expansion on OS X
...
Also fixed issue where process expansion would always fail for processes with spaces
Fixes https://github.com/fish-shell/fish-shell/issues/56
2012-07-16 12:06:02 -07:00
maxfl
7e321afd2a
pacmatic and dmesg completions
2012-07-16 10:03:01 +08:00
ridiculousfish
548ea1e54a
Added binding for accepting an autosuggestion
...
Fixes https://github.com/fish-shell/fish-shell/issues/226
2012-07-15 14:02:34 -07:00
ridiculousfish
4755c5f8c8
Deliver SIGHUP when we're exiting, even if stdin is not closed.
...
Fixes https://github.com/fish-shell/fish-shell/issues/138
2012-07-15 12:46:40 -07:00
ridiculousfish
ea1bfd715e
Set of changes to improve Unicode support with respect to combining characters.
...
Should address https://github.com/fish-shell/fish-shell/issues/155
2012-07-15 10:45:18 -07:00
Kevin Ballard
b1281c3fb9
Update __fish_git_prompt.fish to handle git-svn better
...
Git-svn remotes can have a prefix for their remotes. If I set a prefix
of 'svn/' then my remote trunk branch is called svn/trunk. Update the
script to use the svn-remote.*.fetch key to figure out how the 'trunk'
branch is mapped into the remotes namespace and apply this to the
current branch. This assumes branches are mapped into the same
namespace, which is likely. It also doesn't work for tags, but neither
did the old code.
2012-07-13 21:46:57 -07:00
Alex Rosenberg
257e9b04fe
Add auto-generated builtin_scripts.[cpp|h] to .gitignore
2012-07-13 21:40:11 -07:00
ridiculousfish
8643870822
Tweaked fish_prompt document in a way I hope clarifies it
2012-07-13 21:32:50 -07:00
Dario Bertini
6819696222
Added small note to the fish_prompt doc
2012-07-12 14:52:15 -07:00
ridiculousfish
193bbd4e00
Tweaked pwd note about symbolic links
2012-07-12 14:48:51 -07:00
Dario Bertini
1bf168348e
Added doc for pwd
2012-07-12 14:45:37 -07:00
ridiculousfish
f8b4c1b389
First pass at making autosuggestions not trigger wrapping
...
Addresses https://github.com/fish-shell/fish-shell/issues/167
2012-07-12 12:51:47 -07:00
ridiculousfish
830fba64b1
Fix for https://github.com/fish-shell/fish-shell/issues/42
...
Remote completions in scp
2012-07-11 17:20:58 -07:00
ridiculousfish
1cd61952b0
Fix for https://github.com/fish-shell/fish-shell/issues/223
...
Use -rpath instead of -R
2012-07-11 17:18:49 -07:00
ridiculousfish
4ee1cc3b37
Fix for https://github.com/fish-shell/fish-shell/issues/168
...
Make ^ only act as a redirect at the beginning of a token
2012-07-10 20:30:54 -07:00
maxfl
11dd904b6d
Tests for contains -i
2012-07-10 16:21:00 -07:00
maxfl
0c03b6ddc7
Allow 'contains' builtin to return index
...
Add an option -i/--index to the contains builtin to print the index
of first coincidence.
2012-07-10 16:21:00 -07:00
ridiculousfish
176a3913aa
Fix for https://github.com/fish-shell/fish-shell/issues/106
...
Lets us configure and build on FreeBSD
2012-07-10 15:37:16 -07:00
ridiculousfish
6f0b00f983
Fix for https://github.com/fish-shell/fish-shell/issues/66
...
Make fish import .bash_history if regular history is not found
2012-07-09 22:54:08 -07:00
ridiculousfish
69ace201f8
Fix for https://github.com/fish-shell/fish-shell/issues/79
...
Release tarballs with the user docs already build, removing the doxygen dependency
2012-07-09 19:41:51 -07:00
ridiculousfish
a04f31c5c0
Fix for https://github.com/fish-shell/fish-shell/issues/218
...
make help smarter on OS X (don't show useless builtin man page)
2012-07-09 18:46:14 -07:00
ridiculousfish
1d9f47d1e5
https://github.com/fish-shell/fish-shell/issues/207
...
Improve error message for infinite loop detection
2012-07-09 15:18:22 -07:00
ridiculousfish
36a91fc6ff
Fix for https://github.com/fish-shell/fish-shell/issues/28
...
Use pthread_sigmask instead of sigprocmask
2012-07-09 14:15:55 -07:00
ridiculousfish
cd3ed71137
Fixes Solaris kludge https://github.com/fish-shell/fish-shell/issues/76
2012-07-08 22:36:04 -07:00
ridiculousfish
73e56527bf
Improve error message for $?
2012-07-08 18:51:52 -07:00
ridiculousfish
24059924b1
Fix for https://github.com/fish-shell/fish-shell/issues/50
...
Unescape characters before calling parser.error
2012-07-08 18:40:50 -07:00
ridiculousfish
bb100a2511
Turn on debugging symbols correctly for OS X build
2012-07-08 18:04:31 -07:00
ridiculousfish
0c8c32cd03
Fix for https://github.com/fish-shell/fish-shell/issues/105
...
Not sure why the escape character was being printed in the manpage completions script
2012-07-08 17:35:07 -07:00
ridiculousfish
a38d6e74f5
Renamed a target in the OS X build system
2012-07-08 16:51:39 -07:00
ridiculousfish
05d8dacb27
Simplified native OS X build system
2012-07-08 16:17:49 -07:00