ridiculousfish
0e2a625815
Added some limited support for autosuggesting processes
2012-08-07 00:01:48 -07:00
ridiculousfish
6eb66770a4
Fix to make completions non-authoritative by default, which is why unknown options were always colored like errors (e.g. --rebase)
2012-08-06 23:34:55 -07:00
ridiculousfish
84729c4dfa
Additional warnings cleanup, effective C++ violations, dead code removal
2012-08-05 13:24:33 -07:00
ridiculousfish
8de8877c7c
Fix OS X compilation
2012-08-05 12:05:05 -07:00
ridiculousfish
fdc6c3722a
Fixed a bunch of clang analyzer warnings
...
Simplified some memory allocations by migrating to std::string
2012-08-05 12:01:53 -07:00
Siteshwar Vashisht
deca475972
Fixed compilation on Linux
...
Addresses issue https://github.com/fish-shell/fish-shell/issues/264
2012-08-05 18:37:51 +05:30
ridiculousfish
ba070e21e4
Fix for stack overflow when overflowing a line
2012-08-04 18:41:14 -07:00
ridiculousfish
35e9fd1bb0
Fix for weird issues when a line becomes very long introduced by my warning fixes
2012-08-04 18:32:15 -07:00
ridiculousfish
4906609dd9
Fix for assertion failure in syntax highlighting
2012-08-04 18:02:13 -07:00
ridiculousfish
682353f9cc
Fix to restore an optimization from parse_util_get_line_from_offset in a more thread-safe way
2012-08-04 17:44:14 -07:00
ridiculousfish
25c6671a87
Fix for inability to go backwards through history
2012-08-04 16:06:40 -07:00
ridiculousfish
c67702a498
Cleaned up lots of typecasts, simplified some string handling
2012-08-04 15:11:43 -07:00
ridiculousfish
5880cd88c8
Switch from int cursor[2] to struct cursor { int x; int y; }
2012-08-04 13:54:20 -07:00
ridiculousfish
54ceb4211e
Additional warning fixes and migration from int to size_t or long where appropriate
2012-08-04 13:47:56 -07:00
ridiculousfish
7a46227141
More warning fixes and switching from int to long or size_t
2012-08-04 13:02:44 -07:00
ridiculousfish
b904aa78e8
Additional warning cleanup and switching from int to size_t where appropriate
2012-08-04 11:34:45 -07:00
ridiculousfish
8185bee4b8
Lots of work towards making fish build without warnings on Mountain Lion, mostly in terms of using size_t instead of int
2012-08-04 11:34:45 -07:00
ridiculousfish
2e1b3325c6
Warning cleanup
2012-08-04 11:34:45 -07:00
Rubycut
1b8f1650dc
explain how to load binds automatically
2012-08-04 11:32:04 -07:00
maxfl
1070b34996
Get rid of 'nothing appropriate' output when completing.
...
Add watch completion.
2012-08-04 11:20:03 -07:00
Anders Bergh
13b1b73c15
Replaced references to http://fishshell.org/ with http://ridiculousfish.com/shell/ .
2012-08-01 18:09:50 +02:00
ridiculousfish
e1de72d0ac
Merge pull request #251 from bpinto/rbenv
...
completion for rbenv
2012-07-28 17:50:27 -07:00
Bruno Pinto
dc837eb8a3
completion for rbenv
2012-07-28 13:45:47 -03:00
ridiculousfish
f6b76e6ecb
Fix to allow specifying an initial tab in fish_config
...
For example, you can run "fish_config history"
2012-07-27 13:40:43 -07:00
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