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
adfd3c1098
Don't blow away $status in switch statements
...
Tweak the switch and case builtins to not blow away $status
inappropriately. Fixes issue #161 .
2012-06-24 13:43:44 -07:00
Kevin Ballard
f7d0c4b065
Add a test case for switch error code (issue #161 )
2012-06-24 13:43:44 -07:00
Siteshwar Vashisht
5fb32f1e2d
Fixed declaration of wrealpath() function on FreeBSD
2012-06-23 10:59:53 +05:30
ridiculousfish
f69489a4fc
Mostly fix https://github.com/fish-shell/fish-shell/issues/72
2012-06-21 16:58:26 -07:00
ridiculousfish
d34ce26c4e
Merge pull request #169 from kballard/git_prompt_docs
...
Tweak documentation for __fish_git_prompt
2012-06-21 16:34:12 -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
Emil Eriksson
eea62125a1
Fixes title update in tmux and screen
...
* Seems that writestr( L"\x1b];" ); doesn't work in tmux and
screen. As discussed in fish-shell/fish-shell#47 the 2 was
removed. This commit adds the zero (L"\x1b]0;").
* Tested in screen,tmux,iTerm and xterm.
2012-06-21 10:30:12 -07:00
Emil Eriksson
96f36a63dc
Enable window title update when TERM is screen-X
...
* Uses the same logic as when TERM is
xterm-X to enable window-title updates when
running in screen.
2012-06-21 10:30:12 -07:00
ridiculousfish
19e183f02f
Squashed commit of the following:
...
commit 5b7659ec3d5e67b8dad8d3543d87a0169dc9a9e9
Merge: 57f3df3
22a4cd6
Author: ridiculousfish <corydoras@ridiculousfish.com>
Date: Thu Jun 21 10:15:41 2012 -0700
Merge branch 'master' of https://github.com/maxfl/fish-shell into maxfl-master-base
commit 22a4cd686f
Author: maxfl <gmaxfl@gmail.com>
Date: Tue Jun 19 15:51:43 2012 +0400
set now expands the variable size, if index is outside it
commit 9b0ffa8315
Author: maxfl <gmaxfl@gmail.com>
Date: Mon Jun 18 21:30:44 2012 +0400
fixes #78
commit 78387fb391
Merge: c0e6096
93dc7d4
Author: maxfl <gmaxfl@gmail.com>
Date: Mon Jun 18 21:27:47 2012 +0400
Merge remote-tracking branch 'fishfish/master'
commit c0e60963c1
Merge: 32a98e7
1bead8a
Author: maxfl <gmaxfl@gmail.com>
Date: Mon Jun 18 10:29:42 2012 +0400
Merge remote-tracking branch 'fishfish/master'
commit 32a98e799e
Merge: 6e71021
f2b5292
Author: maxfl <gmaxfl@gmail.com>
Date: Sat Jun 16 18:42:07 2012 +0400
Merge remote-tracking branch 'fishfish/master'
commit 6e710211bc
Author: maxfl <gmaxfl@gmail.com>
Date: Thu Jun 14 11:01:13 2012 +0400
revert fish_pager
commit 731a29f35b
Author: maxfl <gmaxfl@gmail.com>
Date: Thu Jun 14 10:57:41 2012 +0400
revert fish_pager.cpp
commit 72c1bfc7bf
Merge: ea74ffa
9b781c4
Author: maxfl <gmaxfl@gmail.com>
Date: Wed Jun 13 17:54:11 2012 +0400
Merge branch 'master' into maxfl_completions
commit ea74ffa086
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 45b667826f
Author: maxfl <gmaxfl@gmail.com>
Date: Wed Jun 13 16:46:47 2012 +0400
. completion
commit 1c9f8ffc9e
Author: maxfl <gmaxfl@gmail.com>
Date: Wed Jun 13 16:46:13 2012 +0400
a lot of new completions
commit 8224d9f984
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 234ed8f5da
Author: Maxim Gonchar <gonchar@myhost.localdomain>
Date: Tue Jun 12 20:03:44 2012 +0400
step-coloring initial
set_color correction
2012-06-21 10:24:49 -07:00
Siteshwar Vashisht
57f3df3cab
Fix for crash while editing multiple lines requested in issue #143
2012-06-21 21:05:14 +05:30
David Adam (zanchey)
08e78e63cf
docs: fix percentage sign escape character
...
(Patch taken from Debian packaging.)
2012-06-18 14:01:22 -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
Siteshwar Vashisht
93dc7d4cc1
Add support for querying variables with scope options as requested in issue #132
2012-06-18 22:52:33 +05:30
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
David Adam (zanchey)
6681f3bfec
only touch user_doc if doxygen installed
...
If doxygen isn't installed, an empty file called user_doc will be created.
If doxygen is later installed, the documentation will not generate correctly.
2012-06-17 15:04:20 -07:00
David Adam (zanchey)
71f8960ef1
make clean should remove all generated documentation
2012-06-17 15:04:20 -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
eebe126842
Fix for a busted format string
2012-06-17 14:49:45 -07:00
ridiculousfish
ebfa285122
Teach __fish_print_help.fish about the new man path
2012-06-17 14:46:24 -07:00
ridiculousfish
27212719dc
Removed an errant printf
2012-06-17 13:20:31 -07:00
Siteshwar Vashisht
17567028da
Fixed a bug in wsetlocale()
2012-06-17 11:25:21 +05:30
ridiculousfish
34fd8e0e00
Tweak fork guards to be more forgiving
...
Fixes https://github.com/fish-shell/fish-shell/issues/101
2012-06-16 21:25:33 -07:00
ridiculousfish
6cf42075fc
Fix to check for case insensitive filesystems in is_potential_path
...
Addresses https://github.com/fish-shell/fish-shell/issues/119
2012-06-16 14:08:58 -07:00
ridiculousfish
afd8d2f9ba
Fix for https://github.com/fish-shell/fish-shell/issues/135
...
Don't use std::map::insert when we need to overwrite values
2012-06-16 13:05:58 -07:00
ridiculousfish
1d54bff385
Disble futimes() calls in hopes of fixing https://github.com/fish-shell/fish-shell/issues/122
...
This should keep sudo from thinking that the tty has changed as part of its tty_tickets feature.
2012-06-16 12:30:20 -07:00
ridiculousfish
6dd0013a5d
Fix for extra space in some completions
...
Addresses https://github.com/fish-shell/fish-shell/issues/60
2012-06-16 10:30:05 -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
Peter Feigl
f2846a0b78
correcting path of man-pages to ./man/man1/ instead of ./man/
...
Change the path where man-pages are installed to
/usr/share/fish/man/man1 instead of /usr/share/fish/man, so that tools
like mandb can process it.
2012-06-15 16:31:35 -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
ridiculousfish
18f04adccb
Support for importing fish 1.x's history and format, and also bash
2012-06-15 16:24:05 -07:00
ridiculousfish
1ed65b6bd7
Fixed token search (note: this didn't work properly even in the original fish!)
...
Fixes https://github.com/fish-shell/fish-shell/issues/61
2012-06-15 16:24:05 -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
631d27f7a8
Merge pull request #104 from Teggy/master
...
Please consider to pull: formatting glitch in doc_src/history.txt makes Doxygen stumble
2012-06-11 15:48:00 -07:00
Torsten Grust
aad27a7a68
Fixed closing <pre> tag
...
- Was an opening tag, should have been a closing tag
- Confused Doxygen 1.8.1.1 on my machine (OS X 10.7), resulting in the fish man pages not being installed at all
2012-06-11 13:46:47 +02:00
ridiculousfish
4ac01154d9
SIGXCPY should be SIGXCPU
...
Fixes https://github.com/fish-shell/fish-shell/issues/97
2012-06-10 03:36:02 -07:00
ridiculousfish
4e2c7c57d7
Add text to INSTALL describing how to go back to the old shell.
...
This was requested in https://github.com/ridiculousfish/fishfish/pull/92
2012-06-10 01:35:30 -07:00
Robin Deits
6e65cfcc9a
fish_title now sets both tab and window titles in iTerm2
2012-06-10 00:50:00 -07:00
Carl Johan Crafoord
96a4b7eaa7
Check for libiconv_open if we can't find iconv_open
2012-06-10 00:33:01 -07:00
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
ca61d0ee8b
Fixed crash in history builtin for inputs like : history --search -prefix "echo"
2012-06-10 01:08:19 +05:30
Siteshwar Vashisht
e96dabadf1
Add Rekonq in list of browsers to display help
2012-06-08 21:11:26 +05:30