ridiculousfish
91e1d59869
Fix for issue where else if would fail to pass arguments to commands. Also implements short-circuiting for and/or so that non-existent commands don't produce error messages.
...
Fixes https://github.com/fish-shell/fish-shell/issues/345
Fixes https://github.com/fish-shell/fish-shell/issues/349
2012-10-17 01:07:34 -07:00
ridiculousfish
5fb97f05a3
Fixed "Expansion not correctly handling literal path components in dotfiles" test
2012-10-16 11:51:36 -07:00
ridiculousfish
618b42980d
Prevent multi-line prompts from repeating during window resize
...
Fixes https://github.com/fish-shell/fish-shell/issues/321
2012-10-15 19:25:56 -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
ridiculousfish
833abc27cc
Make wildcards beginning with dots not match . and ..
...
https://github.com/fish-shell/fish-shell/issues/270
2012-10-15 18:16:47 -07:00
ridiculousfish
3d5a3f03fa
Fix to prevent buff_pos from underflowing in reader_kill
2012-10-08 23:47:32 -07:00
ridiculousfish
51de26960c
Make escaping consistent for fish <-> fishd protocol
...
Fix fork guards to work in fishd
https://github.com/fish-shell/fish-shell/issues/339
2012-10-08 14:47:25 -07:00
ridiculousfish
b67526aae8
Don't reset the terminal mode in certain circumstances. Fixes issue in Linux with e.g. echo foo ; ftp
...
Introduce patch from 9d229cd18c
2012-10-05 18:23:38 -07:00
ridiculousfish
14bf057c62
Remove bogus path from example of "." (source) command
...
https://github.com/fish-shell/fish-shell/issues/297
2012-10-04 14:57:23 -07:00
ridiculousfish
8eb53ea7ca
Rewrite kill behavior (aka control-W) to do something better
...
Fixes https://github.com/fish-shell/fish-shell/issues/327
2012-10-04 14:35:03 -07:00
ridiculousfish
9b60af4d52
Fix to propagate the last color before highlighting completes, and to avoid repainting when highlighting completes if the color does not change
2012-10-03 12:19:27 -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
ridiculousfish
6b026e399c
Prevent some cases where garbage gets dumped on the screen during window resize under new soft wrapping architecture
2012-10-02 17:30:07 -07:00
ridiculousfish
a661c03743
Work on soft wrapping to address https://github.com/fish-shell/fish-shell/issues/300
...
Resizing is still wonky
2012-10-01 03:29:18 -07:00
Ian Munsie
ffc03735e8
Don't barf when ending a FAKE block
...
After updating, fish would immediately die when started in an xterm from
my window manager (wmii) with a message like:
fish: builtin.cpp:3357: int builtin_end(parser_t&, wchar_t**): Assertion `false' failed.
fish: Job 1, “~/code/fish-shell/fish” terminated by signal SIGABRT (Abort)
Starting fish from an existing shell worked, and running it on other
machines that I was only SSHing into worked as well. I did discover that
on one machine starting git from one specific directory
(/home/ian/bml/kernel) would cause this failure, but starting from any
other directory worked as normal. I'm not entirely sure what
circumstances contribute to this failure - starting from a copy of the
kernel directory works fine.
The failure only started with the following commit, which introduced the
assert(false):
commit d788c84440
Made type property of block_t constant and private
Further work towards cleaning up block_t hierarchy
Looking at this fail in gdb:
(gdb) r
Starting program: /home/ian/code/fish-shell/fish
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
fish: builtin.cpp:3357: int builtin_end(parser_t&, wchar_t**): Assertion `false' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff6c82475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
function=0x548520 "int builtin_end(parser_t&, wchar_t**)") at assert.c:81
(gdb) up 3
3357 assert(false); //should never get here
(gdb) p parser.current_block->type()
$1 = FAKE
So this happens when we run an end command for a FAKE block.
The below patch adds an empty case for FAKE blocks to avoid hitting the
assert. I would need to study the code in more detail to understand if
we should even be executing this code if we are in a FAKE block, but
this patch seems to solve the issue for me.
Signed-off-by: Ian Munsie <darkstarsword@gmail.com>
2012-09-22 23:51:41 -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
Siteshwar Vashisht
4fc80b5057
Fix for displaying multiline prompts
2012-09-20 00:47:31 +05:30
Siteshwar Vashisht
12f3f5dcbb
Print autocompletion description after installing
...
Print autocompletion shortcut description at end of 'make install'
2012-09-19 13:21:49 +05:30
Siteshwar Vashisht
16f2ffc29d
Remove ellipsis and newlines from long lines
...
Fix for issue https://github.com/fish-shell/fish-shell/issues/300
2012-09-18 00:42:11 +05:30
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
593ab75a76
Fix to make Makefile copy sample prompts
2012-09-06 01:40:15 -07:00
ridiculousfish
3589554028
Allow setting the prompt from web_config
2012-09-06 01:30:26 -07:00
ridiculousfish
1a59346b51
Changed "elseif" to "else if"
2012-09-03 13:24:01 -07:00
ridiculousfish
ff124465fd
Clean up some warnings and some unused if-related code
2012-09-01 12:29:00 -07:00
ridiculousfish
de5223db66
Improve documentation and error reporting for elseif.
2012-09-01 02:14:13 -07:00
ridiculousfish
cc1395797e
First stab at elseif implementation
2012-09-01 01:46:14 -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
a3c4de52d6
Fix braces style
2012-08-26 23:34:34 -07:00
ridiculousfish
95de6cf5a7
Migrated function_data_t out of base block class
...
Removed an auto_ptr (yay)
2012-08-26 23:30:23 -07:00
ridiculousfish
d788c84440
Made type property of block_t constant and private
...
Further work towards cleaning up block_t hierarchy
2012-08-26 23:16:20 -07:00
ridiculousfish
96046ffd30
First stab at getting rid of the ugly state1, state2 properties of block_t
2012-08-26 22:42:29 -07: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
5bbf220077
Fix bug where underlining was failing for paths prefixed with ~
...
Fixes https://github.com/fish-shell/fish-shell/issues/292
2012-08-23 11:21:35 -07:00
ridiculousfish
f5d4e3f94c
Reintroduce IO transmorgrification (yuck) to fix problems with fish_config and complicated IO redirections
2012-08-22 13:41:21 -07:00
ridiculousfish
04ea680e9a
Support for tab cyling through completions
...
https://github.com/fish-shell/fish-shell/issues/84
2012-08-21 17:18:52 -07:00
ridiculousfish
3a940781d9
Replaced README with README.md for github
...
Changed 'root' Xcode target to 'install_tree' to avoid confusion
2012-08-21 02:08:49 -07:00
ridiculousfish
00fcd63b88
Clean up fish.app target to build correctly. Still won't run from Xcode, but will run from Finder
2012-08-21 01:20:19 -07:00
ridiculousfish
f3093649de
Improve Xcode build process to provide a real target for xcodebuild install
2012-08-20 23:50:11 -07:00
ridiculousfish
670e33ab27
Properly handle empty completions (e.g. tab-complete 'foo' with extant files 'foo' and 'foobar' should offer both)
...
Fixes issue described in https://github.com/fish-shell/fish-shell/issues/290
2012-08-20 13:09:21 -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
ridiculousfish
9145d05397
Restore correct order of IO redirections
...
Fixes https://github.com/fish-shell/fish-shell/issues/281
2012-08-19 14:09:39 -07:00
Simonas Kazlauskas
ef566836c4
Wipe unnecessary as
statement
2012-08-19 23:26:15 +03:00