Greg Dietsche
c78c1427be
tmux: use status-left short flags
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Conflicts:
share/completions/tmux.fish
2013-04-12 14:03:26 -07:00
Greg Dietsche
953e7fd717
tmux: implement Status Line
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-12 14:03:26 -07:00
Greg Dietsche
1ae08cfedf
tmux: implement ENVIRONMENT
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-12 14:03:26 -07:00
Konrad Borowski
aa78292c2a
Update apt-get completion. Fixes #652 .
2013-04-09 22:04:04 +05:30
Greg Dietsche
993c028579
make punctuation consistent
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:49:47 -07:00
Greg Dietsche
9285ade8a8
ftp: add support for ftp and pftp
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:49:46 -07:00
Greg Dietsche
83e9f0dd91
grep: add support for egrep, fgrep, rgrep
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:42:28 -07:00
Greg Dietsche
c641f5cbdc
grep: fix and add completions
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:42:28 -07:00
ridiculousfish
fccf38a4d6
Don't pass 0 to seq because BSDs are dumb. Pipe tmux stderr to /dev/null
2013-04-04 21:52:23 -07:00
ridiculousfish
46edc49ede
Squashed commit of the following:
...
commit 6259665e972d478f1ce4ab3d233033ec1dd7eef2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Thu Apr 4 11:02:35 2013 -0500
change spaces to tabs
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 465333d982db441f430767b645fdcd95e44cc5d6
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Wed Apr 3 11:15:22 2013 -0500
tmux: implement completion for panes
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 684baf98a6ac070847f20a02838abe58e8c22d5b
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 23:56:27 2013 -0500
tmux: don't suggest dirs
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8c4a9854a1f173866439f976301b743354c945c8
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 21:57:40 2013 -0500
move front flags to the top of the tmux file
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7f2321e9cd20a5aa2bcbfe940e20ec57bcca2609
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 20:06:54 2013 -0500
fix some of the initial parameters
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f70fc55bed40c0ccd2a00921c0e7373e7c18b5d7
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 21:47:25 2013 -0500
implement tmux KEY BINDINGS
implement the commands in the KEY BINDINGS man page section
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit ec423040dba742f67c06dbb932417f6d19b90fba
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 00:10:43 2013 -0500
implement tmux completion for CLIENTS AND SESSIONS
Fully implement all tmux commands found in the tmux man
page section titled: "CLIENTS AND SESSIONS"
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-04 21:52:06 -07:00
Valerii Hiora
c05281492d
Improved brew completion
...
Using arg completion
Context-based completion for most of commands (i.e. only installed
packages for upgrade or remove, only outdated for upgrade and so on)
2013-04-04 21:41:59 -07:00
ridiculousfish
5cebd3abf7
Teach git completion about difftool. Change __fish_git_ranges to output branches as designed.
2013-04-04 21:36:13 -07:00
ridiculousfish
0970487cca
Some spaces to tabs in __fish_print_hostnames
2013-04-03 18:46:50 -07:00
Greg Dietsche
d38f1380e9
Ignore hashed host names in ssh/known_hosts
...
Valid DNS names cannot have a | character and hashed ssh hosts
always begin with the | character. Therefore we ignore lines that
begin with |.
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-03 18:45:13 -07:00
Greg Dietsche
2626b83b08
the host keyword in ssh/.config is case insensitive
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-03 18:45:13 -07:00
ridiculousfish
2a6412481e
Fix a few more spelling / grammar issues in functions and completions
2013-04-01 10:52:27 -07:00
ridiculousfish
b4447bfa4d
Squashed commit of the following:
...
commit 1bbde16b17f04903340206bada9935ea64f785ba
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:12:22 2013 -0500
fix spelling in xterm.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 392dd59da76e6a1293db79733e1975dbb9ef4032
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:10:08 2013 -0500
fix spelling in type.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f82026828e4c08bdf355176f86489783c57efc80
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:09:34 2013 -0500
fix spelling in top.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 196f2ec59c0904eb13159d1063e2e6c6edbd50a8
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:08:16 2013 -0500
fix spelling in scrot.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8400d97dce93afe48612c66eb8ddc2bd06b40968
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:07:48 2013 -0500
fix spelling in scp.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit b68bb3f36915520d2c271e48e2d5356e087e9fcf
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:04:30 2013 -0500
fix spelling in mount.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 97000184afde10ca26b6dda8597baa0593bb4e09
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:01:46 2013 -0500
fix spelling in hg.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 87ca4e71ce57842ab98e4d6b6f9274aafd9713a5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:00:37 2013 -0500
fix spelling in gzip.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 17246a21ad3df39660e6b4c86bf8c6a2239b416b
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:00:07 2013 -0500
fix spelling in gunzip.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 0f618600508695ed5a93110568343f8a783db8c5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:59:37 2013 -0500
fix spelling in grep.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit bacf6a62041d13f1766e90748cfc2c76e1b04b98
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:58:16 2013 -0500
fix spelling in git.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f8f6a1914a8f2f60a14dac532f1d63dd8269f676
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:56:45 2013 -0500
fix spelling in fuser.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit dcdfd1552dfd360d1ce808706bc401d52cce22ce
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:54:58 2013 -0500
fix spelling in effectv.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7b4388364f546b81f0557c500bb6a5207931c3be
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:53:45 2013 -0500
fix spelling in du.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 0450070e98adae2ebe19806f4fb74386a50de003
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:52:55 2013 -0500
fix spelling in df.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 49ae24ae0dbd06c72e6c994f1ea4ca9b385fdda5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:49:00 2013 -0500
fix spelling in cut.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 4eccc923f389e2fc0c498fc63e4bbeeccc177e9a
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:47:21 2013 -0500
fix spelling in compare.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8c0cfb91c596ef7a1583877c8f38fab7e867cff2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:46:46 2013 -0500
fix spelling in chown.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 4518b06c3fc8c565038ccbeeb0d2f8aea73e1ee0
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:46:08 2013 -0500
fix spelling in chgrp.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit a0a4fb3dc271c469482e87a0f9efab4016596f82
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:43:04 2013 -0500
fix spelling in apt-setup.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 740e75e5316e73fb03c00bd9b482786d1f387cc5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:42:25 2013 -0500
fix spelling in apt-rdepends.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7a2727bcb96e58a023d0f8ab807f839e76555375
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:27:27 2013 -0500
fix spelling in fish_complete_pacman.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 0e28ff4c1c90bdbf1e1b780d0ab3c2ba04b3a463
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:26:17 2013 -0500
fix spelling in fish_complete_pgrep.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 1ca9fad713c460debcd851dfcffa135f3b579561
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:24:13 2013 -0500
fix spelling in trap.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit deb0c2129d50d627d720cbd549cf8aadc3113243
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:19:00 2013 -0500
fix spelling in fish_not_contain_opt.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8a40bd08b37d5c80041b7beb58fb82d9b0592b5d
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:18:16 2013 -0500
fix spelling in fish_make_completion.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f1c48dc8236a8eb5ba0e45e985e8dd7eadfb88e5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:17:09 2013 -0500
fix spelling in fish_gnu_complete.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit b6813883d9355f8e15917769d46b58cc8fab840d
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:16:33 2013 -0500
fix spelling in fish_git_prompt.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 97e3e74ddb743061a8e4349bf7895cf98cf9d9b2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:13:11 2013 -0500
fix spelling in fish_complete_vi.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7c31d5fec8f855fbc3496be7200915a1d2dc4d46
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:10:47 2013 -0500
fix spelling of in fish_complete_tex.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 3f06bdb91942c4d0e686d1bb8b5eff1983a91304
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:06:45 2013 -0500
fix spelling in fish_complete_list.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 5bfd9ef40547b744c9bbfb4cc6f8a7d880d8f3d6
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:03:14 2013 -0500
fix spelling in fish_complete_atool.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit b84a43ff0bad5e206a591891b6c7ff9028e14eb5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Sun Mar 31 23:40:28 2013 -0500
fix spelling of protocol in fish_complete_ssh.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-01 10:49:02 -07:00
ridiculousfish
7d480ff579
Make __fish_filter_mime not spew if there's no results
...
https://github.com/fish-shell/fish-shell/issues/628
2013-03-28 17:01:07 -07:00
Terje Larsen
7e9652787b
Add completion for ruby-build
2013-03-13 23:19:03 +01:00
ridiculousfish
234fb7c2fe
Rename print_service_names to __fish_service_print_names
2013-03-12 12:00:02 -07:00
aliva
2c7e0ef577
service name completion for "systemd service manager" added
2013-03-12 19:13:52 +03:30
Kenneth Vestergaard
1afdbb848e
Minor fix to order of arguments in error-message.
2013-03-09 13:03:28 -08:00
aliva
3bfcd5e105
recreate yum-cache file every six hours.
2013-03-02 01:48:56 +03:30
aliva
87aca05e7f
autocomplete 'yum install' using yum cache
2013-03-01 23:27:03 +03:30
ormris debian
d89fcdcc5f
Add proper desriptions to "git submodule"
2013-02-26 16:24:28 -08:00
ridiculousfish
d99c2cb9a7
Support /etc/paths and /etc/paths.d/* on OS X
...
https://github.com/fish-shell/fish-shell/issues/417
2013-02-22 14:01:17 -08:00
Konrad Borowski
3c8c8a7559
Remove useless __fish_complete_perl function
2013-02-21 12:53:35 -08:00
Konrad Borowski
a61e2caadb
Update Perl completion
2013-02-21 12:53:35 -08:00
ridiculousfish
12095c721c
Remove unnecessary eval in __fish_complete_cd
...
https://github.com/fish-shell/fish-shell/pull/589
2013-02-20 18:43:54 -08:00
Kenneth Vestergaard
286bef5eb7
Fix crash when /etc/{fstab,hosts} is unreadable.
2013-02-20 12:30:36 -08:00
ridiculousfish
aaa0c25ff7
Large set of changes to how PATH is handled. Changed fish to no longer modify PATH in share/config.fish. Introduced variable fish_user_paths, and a glue function __fish_reconstruct_path that splices together PATH with fish_user_paths. Changed fish to no longer validate changes to PATH unless the paths are new (i.e. don't recheck what's already there). Modified certain sets to store const wchar_t instead of wcstring to save a few allocations.
...
https://github.com/fish-shell/fish-shell/issues/527
2013-02-19 18:05:20 -08:00
Jan Kanis
2f43584727
small tweak to alias.fish: always add some prefix if in danger of infinite recursion
2013-02-19 22:58:55 +01:00
ridiculousfish
e7c1cb7185
Move autogenerated completions to ~/.config/fish/generated_completions/
...
https://github.com/fish-shell/fish-shell/issues/576
2013-02-17 16:14:36 -08:00
ridiculousfish
8b40f09e17
Add function wrapper for mimedb
2013-02-17 12:56:56 -08:00
ridiculousfish
db5eebd372
Add function for fish_indent so that it does not need to be in PATH, in preparation for making fish no longer need to set PATH
2013-02-13 14:44:10 -08:00
ridiculousfish
41fc3bcb74
Remove some debugging code inadverently left in __fish_complete_cd.fish
2013-02-11 14:42:23 -08:00
Jan Kanis
e8da9999f6
optimize 'alias', fixing bug #486 . Also some minor optimizations in 'type'
2013-02-05 23:14:06 +01:00
ridiculousfish
cd276030c1
Tweak config.fish to only modify PATH once, for performance
2013-02-01 17:18:12 -08:00
ridiculousfish
818533f9f0
Add a newline to prevent a comment from being cut off
2013-02-01 17:15:35 -08:00
ridiculousfish
ff7cbab991
Add man function to promote fish's man pages so it can serve as a suitable replacement for help
2013-02-01 17:11:22 -08:00
jonkerz
0db1b6ce44
Update share/completions/uname.fish
...
Typo: verion --> version
2013-01-31 00:09:06 -08:00
ridiculousfish
843d5a5977
Make a git variable local
2013-01-31 00:07:16 -08:00
ridiculousfish
406d7f1a47
commit bc4f3476cded71a096adf46534784cdd84edb913
...
Author: U0 <rhyzix@gmail.com>
Date: Wed Jan 30 15:02:23 2013 +0800
add completion support for aliased command
Make a variable local
2013-01-30 23:59:52 -08:00
Kevin Ballard
7df89566f3
Fix __fish_git_prompt's upstream indicator for git-svn branches
2013-01-30 22:02:51 -08:00
Kevin Ballard
32b2c9fc9e
Update __fish_git_prompt.fish to use 'else if'
2013-01-30 21:57:59 -08:00
ridiculousfish
ea8c6bc15e
Try to make Valgrind completion not complain if valgrind is not installed
2013-01-30 02:22:22 -08:00
ridiculousfish
27e71c5f37
Fix funced to stop outputing an error if no EDITOR is set
2013-01-27 13:14:24 -08:00
ridiculousfish
cddf7e0986
Clean up man page parser output a bit
2013-01-27 12:58:52 -08:00
ridiculousfish
2b35b3f06e
Fix umask in Linux https://gist.github.com/4627181
2013-01-26 12:49:37 -08:00
ridiculousfish
5e9ca72731
Break up $EDITOR before passing it to type to allow it to contain flags
...
More work on https://github.com/fish-shell/fish-shell/issues/541
2013-01-23 18:24:49 -08:00
ridiculousfish
debfc0f712
Allow $EDITOR to be an array. Fixes https://github.com/fish-shell/fish-shell/issues/541
2013-01-23 17:14:22 -08:00
ridiculousfish
3d0d9a250b
Remove Goodbye message. https://github.com/fish-shell/fish-shell/issues/521
2013-01-21 14:54:15 -08:00
Cheer Xiao
887474d607
Use double quotes in eval.fish
2013-01-20 15:55:10 +01:00
ridiculousfish
214ef3dd0b
Formatting
2013-01-16 14:50:08 -08:00
ciembor
406c8a6d1e
Ajax fix for Firefox, it isn't XML.
2013-01-16 14:45:59 -08:00
ridiculousfish
6416cb45fb
Fix proc and pid completion on OS X, and improve it on Linux.
...
https://github.com/fish-shell/fish-shell/pull/129
2013-01-16 14:11:43 -08:00
ridiculousfish
acbb6fb8e2
Make umask work on OS X
...
https://github.com/fish-shell/fish-shell/issues/515
2013-01-12 15:35:40 -08:00
ridiculousfish
1163961927
Actually add the seq function (oops)
2013-01-12 15:22:09 -08:00
ridiculousfish
dc37a8079e
Added a seq function that defers to the seq command if present
...
https://github.com/fish-shell/fish-shell/issues/137
2013-01-12 14:18:34 -08:00
ridiculousfish
de084b4a0d
Make create_manpage_completions not generate empty files
...
https://github.com/fish-shell/fish-shell/issues/506
2013-01-08 14:58:27 -08:00
Christian Rishøj
e46cbea251
completions for mosh ( http://mosh.mit.edu )
2013-01-08 12:32:49 -08:00
Cheer Xiao
f8e01628b2
Keybinding of \ew and \ed: Insert a newline before displaying info
2013-01-07 19:32:38 -08:00
lledey
f0000ea7d2
Re-enable alias redefinition
...
Fixes #494
Signed-off-by: lledey <lledey@gmail.com>
2013-01-07 15:09:32 +01:00
Vincent Driessen
431ef224e0
Remove origin/HEAD lines from __fish_git_branches.
...
Related discussion:
http://stackoverflow.com/questions/354312/why-is-origin-head-shown-when-running-git-branch-r
2013-01-02 08:16:42 +01:00
Jan Kanis
a4c646f75c
make 'alias' check for recursive calls and insert 'command'; update docs, fix #486
2013-01-01 22:56:08 +01:00
ridiculousfish
183aea5c96
Teach help how to not drop fragments on OS X
2012-12-27 14:04:11 -08:00
ridiculousfish
97ddf9a4f3
Teach help how to go to the web if documentation is not installed
2012-12-27 13:39:43 -08:00
ridiculousfish
fb8f16373f
Teach fish_print_commands how to use __fish_datadir
2012-12-27 00:46:54 -08:00
ridiculousfish
efe9c82bc6
Formatting
2012-12-26 22:08:49 -08:00
David Adam (zanchey)
27e4ece24f
add __fish_print_commands and use it for help
2012-12-26 21:09:50 -08:00
ridiculousfish
6b35250099
Make meta-backspace less aggressive about what it deletes
2012-12-20 17:58:09 -08:00
Cheer Xiao
f9697c8e36
Apply the same fix to help completion too.
2012-12-17 20:08:45 -08:00
Cheer Xiao
0479060858
A quick fix to issue #456 .
2012-12-17 20:08:45 -08:00
Cheer Xiao
3d2b12e72a
Fix spelling of "available" in complete functions.
2012-12-16 12:24:05 +08:00
Cheer Xiao
28264423a4
Fix man completion: suppress stderr of aprops
2012-12-16 01:25:27 +08:00
Anders Bergh
56dd25667d
Make fish_config compatible with Python 2.5
...
Try to import parse_qs from the cgi module, and simplejson instead of json.
Use old string formatting. str.format() was backported from Python 3
to 2.6 and isn't available in 2.5.
2012-12-12 12:51:55 +01:00
ridiculousfish
d4a171a791
Fix to make fish_command_not_found_handler run the first time
2012-12-11 16:08:37 -08:00
ridiculousfish
978066a6de
Attempt to delay looking up command-not-found until the first not-found command to speed up startup
2012-12-11 16:00:49 -08:00
David Adam (zanchey)
983bc5cecc
scp completions - describe usernames as usernames
2012-12-10 01:30:40 +05:30
David Adam (zanchey)
60435f99b9
fix typo in hostname completion
2012-12-10 01:30:40 +05:30
Siteshwar Vashisht
b1e86d6fea
Fixed test statement in binding for Alt-D
...
Fix for https://github.com/fish-shell/fish-shell/issues/421
2012-12-05 00:16:22 +05:30
Jean-Daniel Dupas
43d2e15bb7
Try to fix create_manpage_completions script for system where sysgetdefaultencoding() returns ASCII.
2012-12-02 15:31:44 +01:00
ridiculousfish
17e7860700
Fix chsh completion
...
https://github.com/fish-shell/fish-shell/issues/415
2012-12-01 14:12:11 -08:00
David Adam (zanchey)
b02ed0bbe6
use sgrep instead of grep
2012-11-27 13:02:13 +08:00
David Adam (zanchey)
165ba535f0
use getent for hosts if available, otherwise use more resilient processing of /etc/hosts
2012-11-27 11:49:52 +08:00
David Adam (zanchey)
8253df7c3d
use getent for passwd and group if available
2012-11-27 11:49:52 +08:00
ridiculousfish
be80e1a863
Improvements to man page parser, and to description truncation
...
Fixes https://github.com/fish-shell/fish-shell/issues/98
2012-11-22 20:32:19 -08:00
ridiculousfish
bab69f2672
Merge branch 'master' into fix-indentation-merge
2012-11-18 15:12:22 -08:00
ridiculousfish
5827bfd9a2
Default fish_pager_color_description to '555 yellow'
...
Fixes https://github.com/fish-shell/fish-shell/issues/280
2012-11-18 03:17:51 -08:00
Łukasz Niemier
47df1ae40a
Remove trailing whitespaces and change tabs to spaces
2012-11-18 11:23:22 +01:00
Terje Larsen
b79854ad1a
Optimize staged logic
2012-11-17 13:37:32 -08:00
Terje Larsen
8229b17f0d
Use double-dollar vars for dynamic variables
2012-11-17 13:37:32 -08:00
Terje Larsen
4a5d02aab4
Add configurable status signs again
2012-11-17 13:37:32 -08:00
Terje Larsen
ed4e6cd3a5
Fix uniqueness and escape question-marks
2012-11-17 13:37:32 -08:00
Sławek Piotrowski
7d45e6f12f
Fix: args -> argv in __fish_git_prompt
2012-11-14 19:00:17 +01:00
ridiculousfish
5ea486b20a
Fix help completion to not barf if html file is absent
2012-10-29 01:53:10 -07:00
Siteshwar Vashisht
768f92303e
Removed python scripts to import bash settings
2012-10-27 23:57:15 +05:30
Terje Larsen
4a37d6d1f9
Remove remotes prefix from branches
2012-10-22 20:54:33 +02:00
Terje Larsen
8dfc8625a7
Add git completions for tracking (branch/checkout)
2012-10-22 20:50:38 +02:00
Terje Larsen
e878947cb2
Fix broken git alias completion
...
The previous command outputs a lot of junk, does not strip after the
white-space in OSX (10.8.2).
Tried out the new command on both Ubuntu (12.04.1) and OSX (10.8.2)
2012-10-22 20:37:47 +02:00
Terje Larsen
f56f84c6ac
Use echo -n instead of printf
...
- Remove useless comment, because multi-line prompt works good now.
2012-10-20 12:52:53 -07:00
Terje Larsen
239d43dac4
Improve the git prompt
...
- Fix branch for older git version (--short for symbolic-ref was not
available on git 1.7.9.5)
- Use index (git status) for checking if staged
- Add status indication for copied
- Remove variables for statuses (less litter in the variables)
- Remove usage of eval to echo and set_color
- Replace printf where possible with echo -n
2012-10-20 12:52:53 -07:00
ridiculousfish
8a63326411
Removed backwards compatibility check for fish_user_keybindings
2012-10-20 12:21:41 -07:00
Nate Soares
01608cf062
Normalized some inconsistent whitespace.
2012-10-20 12:15:49 -07:00
Nate Soares
e06d6ce4a2
Revive support for fish_user_keybindings
...
This is undocumented and here to preserve backwards compatibility.
2012-10-20 12:15:49 -07:00
Nate Soares
58a0c6f9d3
added missing underscore
2012-10-20 12:15:49 -07:00
Nate Soares
f310f1e96c
keybindings → key_bindings (for consistency)
2012-10-20 12:15:49 -07:00
ridiculousfish
c7bf1aa222
Handle some more escapes in de-groffing man pages
...
Fixes https://github.com/fish-shell/fish-shell/issues/10
2012-10-17 18:22:57 -07:00
Adrien
be3fff9282
Add apt-cache completion for package names
...
Signed-off-by: Gustavo Noronha Silva <kov@kov.eti.br>
2012-10-17 18:05:49 -07:00
ridiculousfish
211b9ea8b9
Added terlar's prompt, and robbyrussell which was inadvertently omitted
...
https://github.com/fish-shell/fish-shell/issues/329
2012-10-15 18:45:46 -07:00
SanskritFritz
956f99365a
Some new completions and modified some others.
2012-10-02 17:54:30 -07:00
SanskritFritz
9904415144
Facelift for pacman completions.
2012-10-02 17:54:30 -07:00
SanskritFritz
83febbdc7d
Package groups were completed as repos. Fixed.
...
By default fish expands arguments along with options. This is not desired,
so made sure they are expanded only when needed, for performance reasons.
2012-10-02 17:54:30 -07:00
maxfl
c7e24488eb
fix output
2012-09-22 23:49:26 -07:00
maxfl
fe7d2c57e3
nmcli completions
2012-09-22 23:49:26 -07:00
Peter Ammon
86a978d9ee
Fixed web_config prompt to work with Python 2.6.1
2012-09-10 02:11:06 -07:00
ridiculousfish
f6fe3df59b
Fix to make prompt chooser work in Python3
2012-09-06 19:01:07 -07:00
ridiculousfish
e0764bb25e
Improve python3 compatibility in webconfig.py
2012-09-06 02:03:21 -07:00
ridiculousfish
1ba0bfd10c
Renamed hyperminamlist prompt
2012-09-06 01:52:21 -07:00
ridiculousfish
3589554028
Allow setting the prompt from web_config
2012-09-06 01:30:26 -07:00
ridiculousfish
de5223db66
Improve documentation and error reporting for elseif.
2012-09-01 02:14:13 -07:00
Torsten Grust
122791646e
Fix check for non-empty argument (= initial tab) in fish_config
...
The original version (based on 'test') was creating spurious files named "0" in the current working directory
2012-08-30 13:17:32 +02:00
ridiculousfish
b5e92a831b
Use xdg-open instead of BROWSER, if available
...
https://github.com/fish-shell/fish-shell/issues/293
2012-08-25 13:02:58 -07:00
maxfl
a2788129ff
Minor updates
...
* Add -L/--long completion for 'set' command.
* Fix completion description color.
2012-08-25 00:54:47 -07:00
ridiculousfish
3606664cf7
Merge branch 'webserver' of git://github.com/simukis/fish-shell into simukis-webserver
...
Conflicts:
share/tools/web_config/webconfig.py
2012-08-20 12:03:39 -07:00
ridiculousfish
81f45208b0
Make history deletion from web config work properly with Unicode under both Python2 and Python3
...
Make the filter search field hide properly in tabs where it's non-functional
Fixes https://github.com/fish-shell/fish-shell/issues/265
2012-08-20 11:58:54 -07:00
Simonas Kazlauskas
ef566836c4
Wipe unnecessary as
statement
2012-08-19 23:26:15 +03:00
Simonas Kazlauskas
10dfca1a75
Decode data in python3 – Fixes #265 .
...
In both in python2 and python3 parse_qs expects str object. In
python2 it worked ok, because self.rfile was open in binary mode and
str in python2 is actually a string of bytes. However in python3 str is
actually string of unicode literals, not bytes and file was still open
in binary mode. Thus, deleting any file with non-ascii byte inside
filename failed in python3.
Also, cgi.parse_qs is deprecated and shouldn't be used.
2012-08-19 23:19:07 +03:00
Simonas Kazlauskas
b3e3f041fe
Remove trailing spaces and replace tabs with spaces
2012-08-19 22:55:50 +03:00
ridiculousfish
f41a699f5d
Fix to make the choose-a-port loop work correctly for webconfig.py under Python3
2012-08-17 01:14:05 -07:00
ridiculousfish
7d029778e6
Disable file completion descriptions per https://github.com/fish-shell/fish-shell/issues/279
2012-08-15 18:20:44 -07:00
Scott Leggett
ad6645c48d
Implement completion for 'dd'.
...
Closes #267 .
2012-08-12 22:05:12 +10:00
maxfl
1070b34996
Get rid of 'nothing appropriate' output when completing.
...
Add watch completion.
2012-08-04 11:20:03 -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
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
Siteshwar Vashisht
32d2d0f0d0
Minor refactoring and fixed a bug in history function
2012-07-24 04:35:37 +05:30
maxfl
7e321afd2a
pacmatic and dmesg completions
2012-07-16 10:03:01 +08: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
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
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
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
4912967eab
Large set of changes related to making fish relocatable, and improving the build and install story.
...
- etc/config.fish and share/config.fish are now "universal" and no longer reference install paths or need to be touched by autotools. They've been removed from config.fish.in to config.fish.
- fish now attempts to determine __fish_datadir and __fish_sysconfdir relative to the path of the fish executable itself (typically by walking up one directory). This means that you can copy the directory hierarchy around and things will still work. The compiled-in paths are used as a backup.
- The fish Xcode project now can build fish natively, without needing autotools.
- Version bumped to 2.0
2012-07-08 15:20:39 -07:00
ridiculousfish
60ef7903e2
Tweaked __fish_print_help to not spew errors
2012-07-06 16:31:06 -07:00
ridiculousfish
ee8fd21d28
Fix for https://github.com/fish-shell/fish-shell/issues/209
...
Don't hang if stdin is closed and we have no bindings
2012-07-06 16:25:59 -07:00
Emily Eisenberg
d07e78c59a
Make prompt_pwd make a lot more sense
...
Remove the case statements, which were handled by the sed blocks anyway
Move around the '/' character in the regex, so only one regex is needed
Fix a bug where '/' is output as '//'
2012-07-06 14:46:50 -07:00
maxfl
ea4b37d5c5
Fixed case behaviour
...
* case no properly handles -h and --help flags, i.e. treats it as
pattern
* fixed case escaping:
The following expressions now work correctly:
switch '*'
echo '*'
echo Match any string
end
switch '*'
echo '\*'
echo Match asterix
end
switch '\\'
echo '\\\\'
echo Match slash
end
The same for '?' sign
2012-07-05 14:17:25 -07:00
maxfl
fe26284376
Doc is updated
...
btw. funced completion is updated
2012-07-01 14:20:43 -07:00
maxfl
ab62fe6496
Update funced
...
* Editor mode is no the default
* Use -i or --interactive or -e fish to edit function in interactive
mode
* tmpname is now created with random number added and check that file
do not already exist
* check $TMPDIR existence and put /tmp if it does not exist
* There is an undocumented feature to use functions, started with dash.
Introduce necessary changes to funced, functions, def_function()
in order to make it work properly.
* Delete editor guessing. Use $EDITOR variable or -e key
2012-07-01 14:20:43 -07:00
maxfl
e5939d1a18
Disable default fish_pager_color_secondary
...
since it should be different, depending on terminal background
2012-06-29 18:53:22 -07:00
maxfl
a02aa7a316
Step coloring for fish_pager introduces new variable
...
fish_pager_color_secondary to set background of every second completion
line. It simplifies finding the options corresponding to given
description. Default color is 151515.
2012-06-29 18:53:22 -07:00
ridiculousfish
a8bae31939
Change funced script to default to using $EDITOR if set, and to allow -e to specify a particular editor (with fish meaning the builtin editor)
2012-06-29 18:35:26 -07:00
maxfl
faea588fb8
Support editing functions starting with dot
2012-06-29 16:42:34 -07:00
maxfl
792e246262
Add emacs to 'funced -e'
...
The order is also changed.
2012-06-29 16:42:34 -07:00
maxfl
85f19f9b8c
Add -e option to funced
...
New option -e or --editor allows to edit function inside external
editor, rather than in reader.
2012-06-29 16:42:34 -07:00
maxfl
e995cc9329
fix #177 (complete 'cd' only with paths)
2012-06-26 19:17:32 -07:00
Kevin Ballard
1eddc79a90
Remove __fish_git_prompt's switch bug workaround
...
With the switch bug fixed, __fish_git_prompt can be very slightly
simplified by not recording the exit status of every case in the
describe style switch individually.
2012-06-25 15:19:47 -07:00
Kevin Ballard
1a93cbba1e
Bring prompt_pwd under Darwin to parity with non-Darwin
...
The echo command to print the last path segment got a couplel of fixes,
but these fixes were only applied to the non-Darwin version. Copy these
fixes over to the Darwin version. Notably, this makes `/` stop
displaying as `//`.
2012-06-24 14:04:43 -07:00
Kevin Ballard
529d410bec
Fix prompt_cwd on darwin systems when $PWD is "/private"
...
When $PWD is "/private", the prompt was printing "rivate". Skip the
"/private" stripping if there's nothing after it.
Prevent "/private" from being stripped anywhere but the beginning of the
PWD.
Fixes #173
2012-06-24 14:04:43 -07:00
Kevin Ballard
4d1c0eaa52
Fix var set in __fish_config_interactive.fish
...
__fish_config_interactive.fish uses the presence of __fish_init_1_50_0
to decide whether it should perform a one-time initialization of
universal variables. Unfortunately, it sets the variable
__fish_init_1_23_0. Fix this to set __fish_init_1_50_0 instead.
2012-06-24 13:57:15 -07:00
Kevin Ballard
3f7fe94009
Tweak documentation for __fish_git_prompt
...
Add mention of the __fish_git_prompt_color variable.
2012-06-21 11:14:01 -07:00
Kevin Ballard
ae593decfc
Replace __fish_git_branch_prompt.fish with __fish_git_prompt.fish
...
__fish_git_prompt.fish is a complete port of the __git_ps1 function from
git-completion.bash, with the relevant configuration variables changed
and some extra configuration added (namely, control over individual
colors and the status indicator characters).
2012-06-21 11:03:15 -07:00
ridiculousfish
9228dffe5e
Don't generate completions if we already have bespoke completions in the data directory
...
Fixes https://github.com/fish-shell/fish-shell/issues/148
Also fix some Python3 issues
2012-06-18 13:59:34 -07:00
ridiculousfish
1bead8adf7
Fix to create_manpage_completions.py to flush after every line (so you see more progress) and to put the cursor at the beginning (so it doesn't jump around)
2012-06-17 15:19:55 -07:00
Evan Jones
01780f19b1
Fix other usages of \n in sed replacements.
2012-06-17 15:01:04 -07:00
Evan Jones
1fa0c4d4d3
alias: Support seds that don't support \n in replacements.
...
This makes the alias command work on Mac OS X.
2012-06-17 15:01:04 -07:00
ridiculousfish
ebfa285122
Teach __fish_print_help.fish about the new man path
2012-06-17 14:46:24 -07:00
ridiculousfish
f2b5292bcb
Squashed commit of the following:
...
commit 33358874f1c275d8b08186e29f24a7889d2b5224
Author: maxfl <gmaxfl@gmail.com>
Date: Thu Jun 14 11:01:13 2012 +0400
revert fish_pager
commit cee1bc8a66ec3adc9573b76e1aca3131cd32db83
Author: maxfl <gmaxfl@gmail.com>
Date: Thu Jun 14 10:57:41 2012 +0400
revert fish_pager.cpp
commit 27f3bd39dd9903009503d20a59a9e2ba84add07a
Author: maxfl <gmaxfl@gmail.com>
Date: Wed Jun 13 17:35:20 2012 +0400
__fish_complete_command now can understand '--arg=option' tokens
latexmk completion is updated
commit 97b53a4b53de9389675783f3e90f58215d936356
Author: maxfl <gmaxfl@gmail.com>
Date: Wed Jun 13 16:46:47 2012 +0400
. completion
commit d5b63b9963b0a02a71f564e7392171c5eab005cd
Author: maxfl <gmaxfl@gmail.com>
Date: Wed Jun 13 16:46:13 2012 +0400
a lot of new completions
commit ceab87d99425124aa010c64ed062e27202b850d2
Author: Maxim Gonchar <gonchar@myhost.localdomain>
Date: Tue Jun 12 20:19:31 2012 +0400
A lot of new completions.
Some small updates and fixes of old functions and completions.
commit 950aecd570b51e1b9dc444cc651b282a220e8d94
Author: Maxim Gonchar <gonchar@myhost.localdomain>
Date: Tue Jun 12 20:03:44 2012 +0400
step-coloring initial
set_color correction
2012-06-15 17:30:33 -07:00
Gour-Gadadhara Dasa
3a94f6e8b3
initial version of Bazaar completion (created automatically)
2012-06-15 17:18:15 -07:00
Tim Gray
dbde7033d8
Added completions for brew (Homebrew)
...
An OS X package manager.
http://mxcl.github.com/homebrew/
2012-06-15 16:29:26 -07:00
Siteshwar Vashisht
9b781c4c06
Modified alias.fish to show help message when executed with 0 arguments
2012-06-13 00:29:05 +05:30
Siteshwar Vashisht
25f9105a97
Made history --help show history man page and history is now saved only once while deleting items
2012-06-12 14:20:07 +05:30
Siteshwar Vashisht
602109bd8d
Some improvements in bash configuration importer script
2012-06-12 11:08:30 +05:30
ridiculousfish
64afada7f0
Switched from using 'type' to 'functions --query' since it's a lot cheaper
2012-06-10 00:21:11 -07:00
adisbladis
9f563f4873
Introduced fish_user_keybindings
2012-06-10 00:21:11 -07:00
Siteshwar Vashisht
e96dabadf1
Add Rekonq in list of browsers to display help
2012-06-08 21:11:26 +05:30
Siteshwar Vashisht
b6601338c2
Made C-d delete characters in multiple lines.
2012-06-07 21:18:02 +05:30
Siteshwar Vashisht
23ce927301
Fixed a bug in manpage generator.
2012-06-07 20:48:54 +05:30
Siteshwar Vashisht
c7941fc7b0
Use manpath instead of man --path to find man page paths.
2012-06-07 00:00:43 +05:30
Siteshwar Vashisht
1078ad9ae9
Fixed following bugs in history function:
...
1. history function without any argument now correctly shows user's command history.
2. history --save now saves user's command history.
2012-06-06 20:54:27 +05:30
adisbladis
c0085cbc61
Python3 fixes in import_bash_settings.py
2012-06-05 20:40:51 -07:00
Adam
a49d245b92
Python3 fixes for webconfig.py
2012-06-05 20:40:51 -07:00
Adam
4e3acdcbdc
Unicode error fix in manpage completion with python3
2012-06-05 15:26:11 -07:00
Adam
85f808130d
Manpage generation now works with python3
2012-06-05 15:26:11 -07:00
ridiculousfish
53cba2a2e6
Improved webconfig.py's handling of combined term256 and classic colors
2012-06-05 01:19:59 -07:00
ridiculousfish
d871095d0b
Updated "last run version" to __fish_init_1_50_0. Updated colors for non term-256 compatibility
2012-06-05 01:01:30 -07:00
ridiculousfish
3836bfe5a1
Added history completion file
...
Updated history function to assume --search as the default behavior
2012-06-05 00:40:42 -07:00
ridiculousfish
be1d216b34
Relnoted history builtin
...
Tweaked validation regex to use extended regexs
2012-06-04 23:54:43 -07:00
ridiculousfish
85cbb943b5
Tweaks to the history function
2012-06-04 23:40:08 -07:00
Siteshwar Vashisht
ec34f2527a
Adding history builtin
2012-06-05 09:54:42 +05:30
adisbladis
377d93d1cf
Missing -s to which fixed
2012-05-30 21:08:44 +02:00
Peter Ammon
9d8ae184c9
Fix for annoying messages when launching on SnowLeopard
...
Fix for missing .o file in Makefile.in
2012-05-30 00:22:45 -07:00
ridiculousfish
4afdcf56fc
Tweak a few default colors
...
Fix the make_pkg script to actually build an installable package that doesn't immediately barf
2012-05-29 21:14:19 -07:00
ridiculousfish
673faf7152
Fixed builtin_test to properly handle "just a strings" in combining expressions, like 'test foo -a bar'. This was causing error messages in the help function.
...
Fixed help function to know about OS X and use the open command to open web pages.
2012-05-20 12:58:03 -07:00
ridiculousfish
d09c9fba02
Added a -s option to echo to mean "don't output spaces"
...
Replaced default prompt to stop calling printf. I opened a bug to replace the default prompt entirely with one that's cheaper.
2012-05-19 16:59:56 -07:00
ridiculousfish
4bd63020ca
Fix to add a little explanatory text to colors in the web config interface
2012-05-08 17:10:38 -07:00
ridiculousfish
0e4f2cca01
Fix to stop setting a default CDPATH
2012-05-05 14:34:59 -07:00
ridiculousfish
fe7fa46d57
Make dirh, nextd, prevd work on OS X
2012-05-04 18:53:38 -07:00
ridiculousfish
007c5bc9f0
Workaround difference between BSD and GNU seq in dirh
...
dirh still doesn't make any sense
2012-05-04 18:37:24 -07:00
ridiculousfish
ecab34c787
Make gettext function use echo instead of printf to save a fork
2012-04-25 13:37:41 -07:00
ridiculousfish
307ea6dce2
Removed extra newline from Goodbye output
2012-04-25 13:37:01 -07:00
ridiculousfish
d456b4f68e
Removed useless deroff.py import from bash settings
2012-04-25 13:36:21 -07:00
ridiculousfish
953ab4b3cf
Clean up __fish_config_interactive a little bit
2012-04-24 11:12:04 -07:00
ridiculousfish
fb2ed355ec
Improve fork reporting
...
Save a couple of forks during init
2012-04-24 10:10:43 -07:00
Siteshwar Vashisht
dc23af6b32
Fixed setting PATH variable in import_bash_settings.py
2012-04-22 00:18:40 +05:30
ridiculousfish
b1bfa71338
Merge branch 'master' into CPlusPlus
...
Conflicts:
builtin_commandline.cpp
util.c
2012-04-18 13:41:39 -07:00
ridiculousfish
725982cc5b
Fix to try to remove Python 2.7 dependency
2012-04-15 19:45:44 -07:00
ridiculousfish
f977dfcfe7
Deroffer optimizations
2012-04-15 19:22:30 -07:00
ridiculousfish
15079fa3bd
Some more deroff optimizations
2012-04-15 04:41:20 -07:00
ridiculousfish
79a92120ef
Speed improvements to deroffer
2012-04-15 01:15:10 -07:00
ridiculousfish
49ece586d5
Added a fish_update_completions function to run the manpage completion file
...
Added some pretty progress reporting to that script
Added some comments to deroff.py
2012-04-11 19:05:43 -07:00
ridiculousfish
2ec0778d78
Make create_manpage_completions output to ~/.config/fish/completions by default, and also discover man pages from reading the manpath
2012-04-11 18:26:26 -07:00
ridiculousfish
cccd1cefbe
Make the web config page have a title and pass W3C validation
2012-04-11 18:26:10 -07:00
ridiculousfish
ceb32f63e7
Deroffing completion work
2012-04-09 20:17:54 -07:00
ridiculousfish
576c12b184
Deroffer work
2012-04-09 20:17:54 -07:00
ridiculousfish
8585e0e9b8
Various improvements on completion tool
2012-04-04 12:43:12 -07:00
ridiculousfish
7394374a15
Work on improving the output of the manpage completion script
2012-04-03 18:38:25 -07:00
ridiculousfish
37defa739b
Fix for an extra line at the end of the variable listing
...
Once again, fix the issue where some color cells aren't clickable
2012-04-01 01:31:38 -07:00
ridiculousfish
51ed3fbc4b
More work to try to make webconfig's layout correct under firefox
2012-04-01 00:53:53 -07:00
ridiculousfish
f930303d3e
Fix for an issue where you can't select the top row of colors
2012-03-31 15:38:30 -07:00
ridiculousfish
ff17101316
A little better support for non-term-256 colors in web config
...
Fix for a deadlock when autoloading a function triggers autoloading another function
2012-03-31 15:17:14 -07:00
ridiculousfish
0f63e1f988
Some work towards improving manpage completions
2012-03-30 10:00:01 -07:00
ridiculousfish
a62f300753
Make the color picker cell borders appear correctly in Firefox
2012-03-27 19:00:03 -07:00
ridiculousfish
a11687fc5c
Make the functions builtin have a bit nicer output
...
Stop autosuggesting things with newlines
Make webconfig a little nicer
2012-03-25 22:41:22 -07:00
ridiculousfish
fa346cec3b
Moved some Python scripts into new share/tools/ directory.
...
Added fish_config function to launch web config
2012-03-25 18:38:33 -07:00
ridiculousfish
ce859c9e92
Added some missing calls to setup_fork_guards() in utilities.
...
Made echo a builtin
2012-03-07 11:35:22 -08:00
ridiculousfish
8ed20f3c28
Removed pwd.fish, which made the home directory print out with ~ (annoying)
2012-03-07 10:53:08 -08:00
ridiculousfish
0a4c72e78b
Added color.h, color.cpp. Got term256 colors working.
2012-02-12 18:05:59 -08:00
ridiculousfish
382ffe9b6a
Added autosuggestion color variable fish_color_autosuggestion
...
Fixed that nasty bug where fish would apply a color to both the foreground and background (yuck)
2012-02-06 20:14:19 -08:00
Jan Kanis
b0c6d891e9
reviewed merge reqest 14:
...
* fixed some whitespace inconsistencies
* changed variable handling in __fish_complete_subcommand_root
2012-01-25 01:14:47 +01:00
Jan Kanis
344b9bdba3
Merge branch 'master' into merge-requests/14
2011-12-17 14:19:29 +01:00
Jan Kanis
834ea94eb9
update aptitude completions, patch by Dániel Ugra, closes Launchpad bug 238282
2011-09-25 01:24:34 +02:00
Jan Kanis
a060cc5893
uniq doesn't filter duplicates that aren't consecutive, use sort -u
2011-09-23 21:59:50 +02:00
gonchar
7ef0b3b821
*wvdial completion fixed
2011-09-23 18:40:14 +04:00
gonchar
39a2fd1717
* git rm and git status options are added
...
* ssh subcomand completion
* __fish_complete_subcommand now can skip variable number of tokens
2011-09-23 14:51:14 +04:00
gonchar
c66ec4df3d
* __fish_complete_subcommand_root now passes arguments to
...
__fish_complete_subcommand
* sudo:
- now can be completed bu group and user (-u and -g keys).
- subcommand completion is fixed
* __fish_complete_proc.fish is added to complete killall command with
list of running processes
* __fish_complete_tex.fish is updated with common options
* __fish_make_completion_signals.fish is added to make a list of kill
signals for kill and killall
* completions:
- minor filetype completions are added for djview, xpdf, mupdf, gv,
xdvi
- adduser is copmleted by user and group
- dlocate and dpkg are completed by packages
- find: -executable options is added
- htop: options
- funced and funcsave are completed by function names
- ifdown and ifup are copmleted by interfaces
- kill and killall: options, signals and processes
- latexmk, ln, nm: options
- lualatex and xelatex copmletions
- sudo: -u and -g options
- wvdial: presets
2011-09-23 12:24:21 +04:00
Mark A. Miller
35af336ff6
Fix an old, old reference to a long-gone fish function for gem.fish
2011-08-13 23:50:54 -05:00
Grissiom
157ca12d4b
Merge commit 'refs/merge-requests/12' of git://gitorious.org/fish-shell/fish-shell into merge-requests/12
2011-07-28 10:06:19 +08:00
Andreas Raster
1ae44c6b3c
still didn't work correctly, there were delimiters missing in the conditional as well
2011-06-24 02:45:05 +02:00
Andreas Raster
b2887477e3
last commits fix now also applied in the 'else' clause
2011-06-21 23:17:03 +02:00
Andreas Raster
8e2db29c9a
fixed an issue when trying to complete something like 'cd /mnt/windows7/Program\ Files\ \('
...
fish would always spew a huge error message all over my terminal complaining about
some kind of tokenizer error, this patch fixed that
2011-06-21 17:02:49 +02:00
Shaun Reich
d38de7365a
Change git-symbolic-ref to git symbolic-ref.
...
On my system at least (fedora 15), git-symbolic-ref is an invalid
command. Not sure if it's a BIC change from git itself, a distribution
thing, or a mistake on my end. Either way, no harm in using the
extended version. Now I get git branch status (yay).
2011-06-19 14:14:40 -04:00
Christopher Nilsson
2583638f4b
Merge commit 'refs/merge-requests/8' of git://gitorious.org/fish-shell/fish-shell into merge_request_8
2011-01-11 23:22:27 +11:00
James Bowlin
46986ad4c2
Use eix instead of emerge when possible
...
On Gentoo the eix program is MUCH faster than emerge for listing package
names. I've left the emerge code in as a 2nd choice because not every
Gentoo system has eix installed (although they should). Also, the
emerge code didn't seem to produce any output on my system.
Signed-off-by: Grissiom <chaos.proton@gmail.com>
2010-12-02 01:33:56 +08:00
Dylan Smith
fd4ac87382
funcsave: Fixed error and help handling.
...
Renamed references to the previous command name of save_function to
funcsave, and returned an error after printing the help text when no
arguments are specified.
2010-12-02 01:13:51 +08:00
Dylan Smith
164144f126
default_key_bindings: Added mappings for ctrl-arrow keys.
...
On debian and ubuntu these control sequences are output while using
gnome-terminal and xterm.
2010-12-02 01:13:04 +08:00
Christopher Nilsson
dcecab384a
Merge commit 'refs/merge-requests/6' of git://gitorious.org/fish-shell/fish-shell into merge_req_6
2010-11-24 22:34:29 +11:00
James Vega
4f9b07e979
Allow fish_greeting to be NULL or an array
...
Treat fish_greeting as a whole when show up the greeting messages. And
the user may want to set fish_greeting to an null value or an array.
This requires that the variable be quoted when used as an argument for
switch in __fish_config_interactive.
Signed-off-by: James Vega <jamessan@debian.org>
[modified the commit message]
Signed-off-by: Grissiom <chaos.proton@gmail.com>
2010-11-24 00:49:15 +08:00
Dylan Smith
5fca92994f
help.fish: Fix the sed expression to find anchors with id or name
...
Previously the expression only searched for anchors with a name
attribute, but doxygen 1.7.1 is producing anchors with the id attribute
instead. The sed expression allows both cases for compatibility.
I also used single quotes for the sed expression to avoid escaping
double quotes.
Signed-off-by: Grissiom <chaos.proton@gmail.com>
2010-11-23 23:37:09 +08:00