Re: [Fish-users] Beta release of fish: 2.3b1

2016-04-20 Thread ridiculous_fish
Thank you zanchey! The site for the 2.3.0 release is staged: Site: http://fishshell.com/staging/ Docs: http://fishshell.com/staging/docs/current/index.html RelNotes: http://fishshell.com/staging/release_notes.

Re: [Fish-users] Why isn't the "when" timestamp stored in the history file used?

2015-12-03 Thread ridiculous_fish
> On Dec 3, 2015, at 7:30 AM, Kurtis Rader wrote: > > On Thu, Dec 3, 2015 at 5:46 AM, Glenn Jackman > wrote: > I don't imagine that the history file is really meant for human consumption. > Also, pretty easy to transform the timestamp, for example: > > awk '$1 == "

Re: [Fish-users] Was asked to send this bug here

2015-10-31 Thread ridiculous_fish
Thanks Granger! Which version of fish are you on (fish --version) ? I think these have all been sorted out in 2.2.0, e.g. https://github.com/fish-shell/fish-shell/issues/1954 . If you aren't on the latest consider upgrading. Thanks! _fish

Re: [Fish-users] Stack trace when using GNU parallel

2015-08-22 Thread ridiculous_fish
Thanks Jonathan, This was fixed in 2.1.1 in https://github.com/fish-shell/fish-shell/issues/1084 Time to upgrade? :) Thanks for taking the time to send it in! _fish > On Aug 21, 2015, at 4:26 AM, Jonathan Johnsson

[Fish-users] Fish 2.2.0 release

2015-07-12 Thread ridiculous_fish
Hello fellow fish fans, fish 2.2.0 is released! The tarball and OS X package is available now at http://fishshell.com , with Linux and Homebrew packages available in the near future. Major features of this release include vi mode, abbreviations, and the new inline pager.

Re: [Fish-users] Video tutorial series about the Fish shell

2015-04-26 Thread ridiculous_fish
Thanks Nicola, this looks great! I'm sorry I can't speak Italian, but it looks very comprehensive! _fish > On Apr 25, 2015, at 4:41 AM, Nicola Jelmorini wrote: > > Hi, > I would let you know that I have just concluded to publish a series of video > tutorials about the Fish shell on Youtube. >

Re: [Fish-users] Post-process output?

2015-03-28 Thread ridiculous_fish
Hi Brandon, There's no way to do this yet. When all shells (including fish) execute an external command, the shell hands control of the tty to the external command, which outputs directly to the tty. The output isn't piped through the shell. It's an interesting idea, and a valid question where

Re: [Fish-users] fish-autocomplition

2015-03-19 Thread ridiculous_fish
Hi prabhanshu, You can see the code to parse man pages in create_manpage_completions.py Also don't miss the roff-remover deroff.py

Re: [Fish-users] Stickers

2014-12-21 Thread ridiculous_fish
So cool! I ordered some right away. Thanks for putting this together! _fish > On Dec 18, 2014, at 10:23 PM, Andrei Zvonimir Crnković > wrote: > > The stickers are ready! > > Here are the links: > > die cut - > http://www.stickermule.com/marketplace/3507-fish-shell-sticker-die-cut >

Re: [Fish-users] command wrapping

2014-11-25 Thread ridiculous_fish
Hi Peter, There's support for this in trunk, but not the fish 2.1 release. What you're looking for is the fish_preexec event. Example: function myfunc --on-event fish_preexec echo Command: $argv end The PR was https://github.com/fish-shell/fish-shell/pull/1666

Re: [Fish-users] eval command in config.fish

2014-11-19 Thread ridiculous_fish
1099 > <https://github.com/fish-shell/fish-shell/issues/1099>). > > set -e PATH[(contains -i /usr/local/bin $PATH)] ^/dev/null; set PATH > /usr/local/bin $PATH > > Does that help? > > Thank you - fish rocks! > > On Wed, Nov 19, 2014 at 1:12 PM, ridiculous_

Re: [Fish-users] eval command in config.fish

2014-11-19 Thread ridiculous_fish
Hi Ryan, The top of the error message was cut off, but it looks like rbenv is not being found. What does `which rbenv` output, and what's in $PATH? > On Nov 18, 2014, at 10:56 AM, Ryan Burnett wrote: > > Hi fish fanatics, > > I'm using rbenv. Using the regular ol' Terminal I have to add this

Re: [Fish-users] First char of autocomplete is wrong color

2014-11-19 Thread ridiculous_fish
Hi Brian, I opened an issue for you at https://github.com/fish-shell/fish-shell/issues/1821 . It looks like the character under the cursor is unstyled. I'm not sure if this is fish's doing or the terminal's doing. While we investigate, a w

Re: [Fish-users] Using fish without fishd

2014-11-17 Thread ridiculous_fish
On trunk, universal variables no longer require fishd (!) and so it doesn't get launched. This was first enabled with commit 20d7a142, and will be the default behavior in the next release. _fish > On Nov 17, 2014, at 9:00 PM, Diego Zamboni wrote: > > Hi Booker, > > I know all of this, but on

Re: [Fish-users] $history[1] is not working in fish_prompt

2014-11-12 Thread ridiculous_fish
Hi Santosh, This is fixed in "top of tree," meaning that the next release will include the fix. If you would like to install it now, you can see the instructions at https://github.com/fish-shell/fish-shell/wiki/Nightly-builds Hope

Re: [Fish-users] extension exclusion in auto-completion

2014-11-06 Thread ridiculous_fish
Hi Matteo, Sorry, there's no way to control this yet. fish doesn't know the difference between .py and .pyc files, or what gvim does. Your idea of the "editor" class is interesting. If you're willing, please open an issue at https://github.com/fish-shell/fish-shell/issues

Re: [Fish-users] How to access the history from withing the prompt?

2014-10-26 Thread ridiculous_fish
Hi Thomas, In fish 2.1.1, it behaves the way you describe, but in trunk $history[1] will include the last command from fish_prompt. This was fixed as https://github.com/fish-shell/fish-shell/issues/984 I don't know how to implement this eas

Re: [Fish-users] How to check whether fish shell is able to execute this command/function?

2014-09-07 Thread ridiculous_fish
Hi Roman, The type command is the preferred way to do this. I don't think your example is ugly (maybe I have lower standards though!) Note that in top of tree, type has a --quiet option, so you will be able to write `type command --quiet` Hope that helps, _fish On Sep 6, 2014, at 1:21 AM, Rom

Re: [Fish-users] Cross compiling fish for iOS?

2014-08-23 Thread ridiculous_fish
Hi Robin, I don't know if anyone has tried this, but I don't anticipate too much difficulty. I'd suggest using the Xcode project fish.xcodeproj, change the ARCHS to armv7, switch the SDK to an iOS SDK, build the 'base' target, and then work through any errors. The install_tree target will buil

Re: [Fish-users] Bug report + backtrace

2014-07-29 Thread ridiculous_fish
Hi Walter, Thanks for taking the time to write, but unfortunately we can't do much with an unsymbolicated backtrace. Do you perhaps have a description of the bug (hang, crash, something else), and steps to reproduce it? Thanks, _fish On Jul 29, 2014, at 1:17 AM, Walter Dolce wrote: > Please

Re: [Fish-users] Setting up a per directory history

2014-07-12 Thread ridiculous_fish
Hello, It sounds like you may be hitting https://github.com/fish-shell/fish-shell/issues/984 , which is not fixed in fish 2.1, but is fixed in top of tree. If you find that it's not, please file an issue at https://github.com/fish-shell/fish-shell/issues Glad you like fish :) _fish On Jul 9,

Re: [Fish-users] fish and percol

2014-06-24 Thread ridiculous_fish
Hi Alex, This is most likely because command substitutions do not run in the foreground in fish. https://github.com/fish-shell/fish-shell/issues/1362 tracks that. Feel free to chime in. Thanks, _fish On Jun 24, 2014, at 3:24 PM, Alex Boisvert wrote: > Nobody? > > (trying one more time :)

Re: [Fish-users] Increased, sporradic Segfaults & building issues

2014-05-23 Thread ridiculous_fish
Hi, sorry to hear about your issues. Please open a github issue for your segfaults at http://github.com/fish-shell/fish-shell/issues with any information you have, including your environment (OS version). Steps to reproduce are especially appreciated. It goes without saying that segfaults are v

Re: [Fish-users] Disabling history for a certain command

2014-04-22 Thread ridiculous_fish
There’s no explicit way to configure which history items fish keeps. You can purge your history of ssh like so: history —delete —prefix ssh Also like other shells, fish history ignores commands with a leading space, so if you make sure to always type a space before ssh, it won’t record it.

Re: [Fish-users] How can I setup fish shell prompt to be in a different color?

2014-04-14 Thread ridiculous_fish
Hi Maxim, This is a string ‘ ~ ‘ with a background color, followed by a special Unicode character: function fish_prompt set_color black --background blue echo -n " $PWD " set_color blue --background normal echo -n \U2B80 end However that character is not a normal Unicode glyph,

Re: [Fish-users] fish and emacs

2014-04-14 Thread ridiculous_fish
Hi Alan, Glad to hear you like fish :) The ⏎ character is meant to be visible when the output of the last run program did not have a trailing newline, and so fish had to insert one. Since fish can’t actually see that output, it has to accomplish this by printing the marker, then a bunch of spa

Re: [Fish-users] Process substitution in fish

2014-04-01 Thread ridiculous_fish
I think so. psub is not exercised very often and is finicky. I opened https://github.com/fish-shell/fish-shell/issues/1394 to track this. Thanks for reporting it. _fish On Mar 31, 2014, at 6:33 PM, Kevin Ballard wrote: > I’m seeing the same issue. Sure seems like a bug. > > -Kevin > > On M

Re: [Fish-users] fish rave

2014-02-17 Thread ridiculous_fish
Thanks Greg, always nice to hear from a happy user! :) “Intended mostly for interactive use” means that most of fish’s distinguishing features are in its interactive mode. fish’s scripting support is mainly intended to support interactive use, e.g. programmatic completions. While fish does hav

Re: [Fish-users] git tags updated

2014-01-24 Thread ridiculous_fish
Thanks David, this is great! On Jan 24, 2014, at 4:57 AM, David Adam wrote: > Hi all, > > As a result of https://github.com/fish-shell/fish-shell/issues/1249 the > tags in the git repository for releases 2.0.0 and 2.1.0 have been updated. > > If you have a local repository clone, you should s

[Fish-users] fish shell 2.1 released

2013-10-28 Thread ridiculous_fish
fish 2.1 is now live at fishshell.com . Release notes are available at http://fishshell.com/release_notes.html . A big THANK YOU to everyone who committed in this release: GlitchMr zanchey Benabik mariuszs marcecj nulltrek siteshwar JohannWeging wwwjfy crishoj and others as well. Thank you also

[Fish-users] fish 2.1.0 now available for testing

2013-10-24 Thread ridiculous_fish
Hello fellow fish fans, In a few days we will release fish 2.1.0, which wraps up changes since fish 2.0.0, and fixes a build incompatibility with Mac OS X Mavericks. We absolutely appreciate your testing of this upcoming release. You can download packages and the tarball, and preview the site,

Re: [Fish-users] start another terminal with the current directory

2013-09-20 Thread ridiculous_fish
Using $PWD is fine. For the record, what you're looking for is called command substitution: rxvt -cd (echo $pwd) Hope that helps, _fish On Sep 20, 2013, at 11:28 AM, Wai Yan Pong wrote: > Oh simply rxvt -cd $PWD does the trick, sorry. > > > On Fri, Sep 20, 2013 at 10:05 AM, Wai Yan Pong

Re: [Fish-users] evaluating $COLUMNS in a loop

2013-09-18 Thread ridiculous_fish
On Sep 17, 2013, at 9:44 PM, Martin Bähr wrote: > On Wed, Sep 18, 2013 at 05:00:09AM +0200, Martin Bähr wrote: >> clear >> while true >>echo \e\[H >>for i in (ls -tr) >>du -sh $i >>end | tail -20 | sed -e 's/^/'\e'\[K/' | cut -c -(math $COLUMNS - 2) >>sleep 2 >> end > >

[Fish-users] Welcome new fish committers zanchey and GlitchMr

2013-07-18 Thread ridiculous_fish
Welcome new fish committers zanchey and GlitchMr. (Belatedly, in zanchey's case.) Both have already made outstanding contributions to the fish shell, and it's exciting to have them contributing directly! Keep up the good work! _fish --

Re: [Fish-users] Proper behavior on very long prompt?

2013-06-17 Thread ridiculous_fish
Hi Tony, fish does not attempt to wrap or truncate long prompts. Prompts often contain ANSI escape sequences, which make them difficult to wrap or truncate. What you can do is inspect the value of $COLUMNS in your fish_prompt, and avoid outputting one that is too long. If you have any other ide

[Fish-users] fish 2.0 officially released

2013-05-17 Thread ridiculous_fish
fish 2.0 is officially released and is available at http://fishshell.com! Thank you to all contributors, including but not limited to: • siteshwar • xiaq • JanKanis • maxfl • zanchey • kballard • adisbladis • dietsche • terla

Re: [Fish-users] Fish user documentation readability

2013-05-12 Thread ridiculous_fish
Hi Bryan, I've opened issue https://github.com/fish-shell/fish-shell/issues/740 to track simplifying the language used. Thanks for taking the time to report this. _fish On May 10, 2013, at 3:23 AM, Bryan Kilgallin wrote: > Take the following quote as an example. I parsed it through a > reada

Re: [Fish-users] Fish user documentation

2013-05-12 Thread ridiculous_fish
Fixed with commit 4758387 . Thanks for reporting this. _fish On May 6, 2013, at 6:49 PM, Bryan Kilgallin wrote: > In the following sentence, file names are mismatched. > > "An example of a file redirection is echo hello >output.txt, which > directs the output of the echo command to the file

Re: [Fish-users] Immediate feedback in terminal applications

2013-05-06 Thread ridiculous_fish
Hi Bert, There's no magic function here - it is old-fashioned ANSI escapes. In essence: - Output the text that's been typed - Output the escape code to make the text gray - Output the suggestion - Use cursor motion escapes to move the cursor back to the end of the text fish's implementation of t

[Fish-users] fish 2.0 branch for release

2013-05-05 Thread ridiculous_fish
Hello fellow fish fans, We've cut a fish 2.0 branch. In one week we will release fish 2.0, unless showstopping bugs are found. Minor bugs or enhancements won't be merged until after the release, with the exception of documentation and site fixes. The prerelease website is hosted on S3 and can b

Re: [Fish-users] fish_config prompt question

2013-05-04 Thread ridiculous_fish
Are you defining your fish_prompt explicitly somewhere else, for example in a config.fish file? On May 3, 2013, at 7:52 AM, Glenn Dixon wrote: > It doesn't work. I have tried every combination I can think of. I am unable > to get the new prompt config to display in any terminal window. The def

Re: [Fish-users] Script introspection

2013-05-02 Thread ridiculous_fish
I think the unfortunate answer is that there is no way - there's no equivalent to BASH_SOURCE. Please open an issue on the github page. Thanks _fish On Apr 12, 2013, at 12:22 PM, Hans Stimer wrote: > How does a script figure out where it is being run from? > > In Bash you can use this bit of

Re: [Fish-users] Can't build on Slackware 11

2013-04-29 Thread ridiculous_fish
solution? :-( >> >> -- >> Luciano ES >>>> >> ** >> On Fri, 15 Mar 2013 22:54:25 -0700, ridiculous_fish wrote: >> >>> It looks like maybe your compiler doesn't support C++ TR1? What does >>> 'g++

Re: [Fish-users] Out of memory on line 1032 of file wildcard.c

2013-04-26 Thread ridiculous_fish
To close the loop on this, this is fixed as eb3a1f67 by using a dynamically growable std::wstring instead of preallocating a "large enough" buffer. Thanks for the report and the great diagnosis. _fish On Apr 22, 2013, at 11:09 AM, Ben Franksen wrote: > Nicholas Burlett wrote: >> On Apr 22, 201

Re: [Fish-users] Out of memory on line 1032 of file wildcard.c

2013-04-21 Thread ridiculous_fish
Hi Ben, Thanks for reporting this! Here's the relevant snippet: wc_str = wc_end?wcsndup(wc, wc_end-wc):wcsdup(wc); if ((!new_dir) || (!wc_str)) { DIE_MEM(); } I'm afraid I don't know what could cause this, except for legitimately running out of memory

Re: [Fish-users] fish hangs on CentOS 5.8

2013-04-21 Thread ridiculous_fish
Hi Elias, I installed fish on CentOS 5.8 i386 to try to reproduce this problem. What I found is, for some reason, 'make install' takes a very long time, especially when installing the completion files. During this time the system is unresponsive in many ways, including the issue you describe,

Re: [Fish-users] Using environment modules with fish

2013-04-18 Thread ridiculous_fish
Hello Laurence, How does the shell incorporate the environment variables output by the module? Do the modules output shell script that is then executed, or something else? For environment variables that are classically arrays, like PATH, fish stores them internally as a list, but imports and ex

Re: [Fish-users] Fish ASCII art

2013-04-14 Thread ridiculous_fish
\ \\ \V) \_) \ JJ J\) /J JT\) (JJJ| \UUU) (UU) Requires a monospaced font of course. _fish On Apr 12, 2013, at 2:49 AM, Elias Assmann wrote: > Dear ridiculous_fish, > > I have just started using fish

Re: [Fish-users] Very slow fish in sshfs path

2013-04-12 Thread ridiculous_fish
Hi Andrea, It is due to syntax highlighting. It should be fixed in fish 2.0. _fish On Apr 12, 2013, at 12:28 AM, Andrea D'Amore wrote: > When I change working directory to a path that is mounted using sshfs, > fish's prompt becomes extremely slow at giving feedback. > Typing a command in such

Re: [Fish-users] Fish shell hangs at startup

2013-04-07 Thread ridiculous_fish
On Apr 7, 2013, at 1:44 PM, Göran Sander wrote: > A week or so ago I had a out-of-space situation on my main startup disk > (which is a SSD). So I deleted a bunch of files and now have ca 10 GB free, > all good. > Running OS X Mountain Lion. > Not sure what Fish version I am running, as I have

Re: [Fish-users] Can't build on Slackware 11

2013-03-15 Thread ridiculous_fish
It looks like maybe your compiler doesn't support C++ TR1? What does 'g++ --version' report? On Mar 15, 2013, at 10:02 PM, Luciano ES wrote: > I have finally decided to install fish on my headless server, it runs > Slackware 11. But it's not working. Do you guys have any idea? > > luc[933-

Re: [Fish-users] __warn_unused

2013-02-05 Thread ridiculous_fish
Sure, seems reasonable. Go for it if you like. Thanks, _fish On Feb 5, 2013, at 1:47 PM, Jan Kanis wrote: > Hi fish, > > Regarding commits 798537d47b and 4683ce2771f7, wouldn't it be better to just > remove the __warn_unused attribute from the exec_subshell definition? > According to the gc

[Fish-users] Command substitutions to modify $status - what do you think?

2013-01-27 Thread ridiculous_fish
Hi all, Currently, command substitutions do not modify $status, so it is difficult to determine if a command substitution succeeded. I propose making command substitutions modify $status. Please share your thoughts on the issue here: https://github.com/fish-shell/fish-shell/issues/547 Thanks!

Re: [Fish-users] Completion for aliases, a la bash

2013-01-23 Thread ridiculous_fish
Not yet, but it's highly desired: https://github.com/fish-shell/fish-shell/issues/393 On Jan 22, 2013, at 12:58 AM, Mark Skilbeck wrote: > Hi, all. > > In bash, one can provide completions for aliased commands. For > example, I could have: > >alias aptin="sudo apt-get install" > > provi

Re: [Fish-users] Will fish ever be *fully* POSIX-compliant as OS X?

2013-01-13 Thread ridiculous_fish
fish is deliberately incompatible with POSIX in several ways. For example, splitting of variables, via IFS: foo='John Doe' echo $foo POSIX requires us to throw away all the whitespace, and output 'John Doe'. Dumb, huh? So making fish POSIX compliant would compromise usability. Other shel

Re: [Fish-users] Debugging in Xcode?

2013-01-07 Thread ridiculous_fish
Hi Lukas, You can configure your scheme to use an external executable like this: http://i.imgur.com/1KjZY.png Note that "Wait for fish to launch" is checked - Xcode doesn't provide much of a tty, so you want to run it in a terminal app. When you hit Run, it will stop an existing instance of fis

[Fish-users] Welcome "new" committer JanKanis

2012-12-30 Thread ridiculous_fish
Jan Kanis, a veteran committer on fish 1.x, has chosen to continue in that role in fish 2.0. Jan has already made great contributions to fish, including spotting a signal race condition and untangling the mess that is the event_t type. Welcome (back) Jan! _fish --

Re: [Fish-users] debugging fish

2012-12-27 Thread ridiculous_fish
Hi Jan, I'm not sure how to do that in one terminal, but it's straightforward with two. I do this in the shell targeted for debugging: > echo %self 26414 And in another window: > gdb attach 26414 In case you were't familiar with that technique, hope that helps! _fish On Dec 27, 2012,

Re: [Fish-users] Why sometimes a 'cd' command gives me '>' prompt?

2012-12-27 Thread ridiculous_fish
Do you have a very wide prompt? If your prompt is so long that it cannot fit in your window, fish will cut it down to just a '>' On Dec 26, 2012, at 1:04 AM, Magicloud Magiclouds wrote: > It is something like the following. > > $ cd files/usr/bin/ > > cd .. > $ > > -- > 竹密岂妨流水过 > 山高哪阻野云飞 >

Re: [Fish-users] [feature request] preexec to facilitate fasd'ish tool (chdir and xdg-open file based on approximation matching on older pathes)

2012-12-27 Thread ridiculous_fish
On Dec 21, 2012, at 10:15 AM, Cheer Xiao wrote: > 2012/12/19 ridiculous_fish : >> After running a command, some processing occurs on a background thread. When >> that's done, it notifies the main thread, which adds the item to the >> history. The earliest that the

Re: [Fish-users] [feature request] preexec to facilitate fasd'ish tool (chdir and xdg-open file based on approximation matching on older pathes)

2012-12-18 Thread ridiculous_fish
After running a command, some processing occurs on a background thread. When that's done, it notifies the main thread, which adds the item to the history. The earliest that the main thread can respond to the notification is in its main "event loop", which is a call to select(). So the history i

[Fish-users] RFC: list builtin

2012-12-12 Thread ridiculous_fish
Hello fellow fish fans, I would like to invite you to weigh in on a proposal for a new fish builtin. It is meant to address some of the well-known difficulties in handling arrays and strings with embedded newlines, and also pave the way for eliminating bracket expansion. https://github.com/fis

Re: [Fish-users] Shell Completion

2012-12-05 Thread ridiculous_fish
Hi Charlie, The autosuggestion tries to be smart. If your command prefixes a history item, that's used as the suggestion. Except that, when you run a command, it remembers which arguments are valid file paths (possibly relative), and only suggests that command if those paths are still valid.

Re: [Fish-users] Annoying completion behavior

2012-11-28 Thread ridiculous_fish
Seems very reasonable to me. Please open an issue at http://github.com/fish-shell/fish-shell and I'll take a whack at it when I get a chance. Thanks! _fish On Nov 28, 2012, at 1:53 AM, Luciano ES wrote: > I just noticed the current version of fish still has some annoying behavior I > would lo

Re: [Fish-users] How to define keybindings?

2012-11-27 Thread ridiculous_fish
On Nov 26, 2012, at 11:38 PM, Luciano ES wrote: > Sigh... Ok, one thing at a time: > >> See what? "bind -k dc" isn't in that list. Or maybe I'm just blind > > You're right, it's not there. My mistake, forget about it. :-\ > > >> I get the impression that fish_user_key_bindings is not being e

Re: [Fish-users] How to define keybindings?

2012-11-27 Thread ridiculous_fish
On Nov 26, 2012, at 10:12 PM, Ian Munsie wrote: > On Tue, Nov 27, 2012 at 2:34 PM, Luciano ES wrote: >> function fish_user_key_bindings >>bind -k dc delete-or-exit >>bind \cz 'commandline ""' >> end >> >> I press Ctrl+z. Nothing happens. > > Nothing happens for me either - mig

Re: [Fish-users] Fish crashing with arrays

2012-11-25 Thread ridiculous_fish
Hello Luc, We neglected to thank you for taking the time to report this bug, and also taking the time to isolate it. So a sincere thank you! Regarding your critique of the development process: fish is beta software, and as such, serious bugs are to be expected, on both trunk and the official d

Re: [Fish-users] Inhibit filename completion/suggestion

2012-11-05 Thread ridiculous_fish
Hi Leonardo, For the first issue, I think what you're seeing is that the completions are initially not loaded. If you repeat your experiment twice, you'll see it behaves the way you expect the second time, which is that explicit completions are preferred to filenames. That is, after a tab, aut

Re: [Fish-users] using autosuggestion word by word

2012-09-03 Thread ridiculous_fish
There's an Issue somewhere (can't find it right now) to make control-right-arrow accept the current completion up to a word boundary. On Sep 3, 2012, at 7:21 AM, Stestagg wrote: > Well, yes, I don't have an issue with the current function remaining, but one > of Axel's standard repsponses to t

[Fish-users] Send in your prompts!

2012-08-26 Thread ridiculous_fish
Hello fellow fish fans, I'm working on a prompt editor, which will include a bunch of sample prompts that the user can preview and then use (or edit). I'd like to include real prompts contributed by real users, showing the range possible prompts. If you're willing, please send me the following:

Re: [Fish-users] Compilation on NetBSD

2012-08-17 Thread ridiculous_fish
Good question - I looked at the history of the original fish but I wasn't able to find anything. I hate having code that nobody understands, so I'm going to apply Moritz's suggestion and not modify init_tabs. We'll see if anything breaks. This was merged as commit bfccc7133d194f0b54f5b89f212a6

[Fish-users] Meet posix_spawn

2012-08-15 Thread ridiculous_fish
Commit 61686af to fish trunk is a large change that uses posix_spawn (when available) for creating new processes. This is exciting stuff, because posix_spawn is a big performance win compared to fork / exec. For example, this loop: for i in (seq 8000) /usr/bin/false end now runs 35

Re: [Fish-users] changing default python distribution

2012-08-15 Thread ridiculous_fish
Hi Igor, Thank you for your kind words! You can update PATH yourself. There's something funny with PATH that seems to prevent it working properly with Universal variables, but you can set it by adding this to the file '~/.config/fish/config.fish' (creating it if it does not exist) set -x P

Re: [Fish-users] Uninstalling fish?

2012-08-02 Thread ridiculous_fish
; sandboxing requirement too strict? > > thanks. > > On 1 Aug 2012, at 23:41, ridiculous_fish wrote: > >> Hi Nikos, >> >> fish doesn't do anything unless run, so you might consider just leaving it >> there. >> >> If you're real

Re: [Fish-users] Uninstalling fish?

2012-08-01 Thread ridiculous_fish
Hi Nikos, fish doesn't do anything unless run, so you might consider just leaving it there. If you're really offended by having it on your system, you can delete the following: /usr/local/share/fish/ /usr/local/ect/fish/ /usr/local/bin/fish* ~/.config/fish The next release of fish

Re: [Fish-users] Can't figure out how to update my shell

2012-08-01 Thread ridiculous_fish
I definitely ought to update the install docs, but here's two paths to install: The classic approach will always work: autoconf ./configure [--without-xsel] make sudo make install If you're on OS X, you may not have autoconf installed, but you can use the new native Xcode build:

Re: [Fish-users] Amphersand background statement

2012-07-23 Thread ridiculous_fish
Running functions in another thread is difficult, because so many operations act on the whole process. Think cd, set -x, etc. bash handles this by forking a new instance of the shell. This has the disadvantage that the function could not affect the caller (for example, change a variable) but it

Re: [Fish-users] $status in prompt

2012-07-09 Thread ridiculous_fish
On Jul 8, 2012, at 8:59 AM, Dario Bertini wrote: > On 1 July 2012 23:14, ridiculous_fish wrote: >> I wasn't able to reproduce this. If you share your fish_prompt function, I >> can dig into it a bit more. >> > > this is my current function: > > http://d

Re: [Fish-users] git completion

2012-07-01 Thread ridiculous_fish
The git completion in master is the most recent one. There is also a nice git-based prompt __fish_git_prompt which you might find useful. _fish On Jun 29, 2012, at 6:59 AM, Gour wrote: > > Hello, > > starting to learn (some) Git and have fish shel las default one. > > Is the git.fish comple

Re: [Fish-users] $status in prompt

2012-07-01 Thread ridiculous_fish
I wasn't able to reproduce this. If you share your fish_prompt function, I can dig into it a bit more. _fish On Jun 21, 2012, at 5:23 PM, Dario Bertini wrote: > In my fish_prompt function I added the $status variable, to let me > instantly know the exit code of the last command I run (like in t

Re: [Fish-users] Fish scripting wishlist

2012-06-21 Thread ridiculous_fish
Hello Kevin, Thank you for taking the time to write this up! Your git script looks very ambitious, and so this is thoughtful, informed feedback. (Incidentally I just merged your git script changes). Let me respond to each point in turn: 1.2. 3.: Regarding string manipulation: I'm in favor of do

Re: [Fish-users] vi-mode WIP

2012-06-21 Thread ridiculous_fish
Ian, thank you for tackling this!! vi mode is highly desired by other users, but I don't know enough about it to implement it. Regarding repainting, does 'commandline -f repaint' work? _fish On Jun 21, 2012, at 12:03 AM, Ian Munsie wrote: >> your vi-mode works wonderful. >> I've only the prob

Re: [Fish-users] posting from Gmane does not go through

2012-06-17 Thread ridiculous_fish
Hello Gour, Are you posting from another address? The sourceforge mailing list requires that you post to the list from the same address that receives messages from the list. _fish On Jun 14, 2012, at 1:07 AM, Gour wrote: > > Hello! > > I noticed that my posts sent from Gmane does not go thr

Re: [Fish-users] Converting old fish history to the new format?

2012-06-17 Thread ridiculous_fish
Hi Sanskrit, With this fix checked into trunk, it should correctly import fish 1.x's history. https://github.com/fish-shell/fish-shell/commit/18f04adccbaff74f12ad12f3f6ceb123e5ccf47f Let me know if it doesn't work for you! _fish On Jun 10, 2012, at 2:00 AM, SanskritFritz wrote: > Is there a wa

Re: [Fish-users] Hiding a command from history

2012-06-11 Thread ridiculous_fish
; On Mon, Jun 11, 2012 at 5:38 PM, ridiculous_fish > wrote: > Hi Gavin, > > There's no way to run a command with suppressed history yet. However, it is > possible to delete a history item, via the history built-in (e.g. history > --delete foo). > > Hope that helps, > _f

Re: [Fish-users] Hiding a command from history

2012-06-11 Thread ridiculous_fish
; On Mon, Jun 11, 2012 at 5:38 PM, ridiculous_fish > wrote: > Hi Gavin, > > There's no way to run a command with suppressed history yet. However, it is > possible to delete a history item, via the history built-in (e.g. history > --delete foo). > > Hope that helps, > _f

Re: [Fish-users] Hiding a command from history

2012-06-11 Thread ridiculous_fish
Hi Gavin, There's no way to run a command with suppressed history yet. However, it is possible to delete a history item, via the history built-in (e.g. history --delete foo). Hope that helps, _fish On Jun 7, 2012, at 3:48 PM, Gavin Brock wrote: > Hi, > > In some shells, such as bash, you can

[Fish-users] GitHub move complete

2012-06-11 Thread ridiculous_fish
Hello fellow fish fans, The second open beta has been released, and the response has been awesome! I'm more excited than ever. I will have a lot more to say before long, but I wanted to immediately share changes to the repository. fish is now hosted on GitHub under the 'fish-shell' account:

Re: [Fish-users] homebrew install?

2012-06-11 Thread ridiculous_fish
Hello Rossen, When we release the next version, we will certainly provide a homebrew recipe. Until then, you can try this suggestion from atnan's twitter feed: "If you use Homebrew & want to try @ridiculous_fish's fork of the fish shell, $(brew edit fish) and change HEAD to https://git.gitorio

Re: [Fish-users] 'help' doesn't work on fresh install on Fedora 17

2012-06-07 Thread ridiculous_fish
Hi Ryan, You probably don't have doxygen installed. fish uses doxygen at build time to construct the HTML help files. If doxygen is not present, the build will still succeed, but will not produce the help files. Hope that helps, _fish On Jun 7, 2012, at 2:39 PM, Ryan wrote: > ryan@host ~> he

Re: [Fish-users] Setting Tab title in iTerm2 with Fish

2012-06-06 Thread ridiculous_fish
Hi Robin, I tracked down the problem. There's no simple fix from a fish function, but if you're willing to rebuild fish it can be fixed. In reader.cpp, look for this line: writestr( L"\x1b]2;" ); Replace that 2 with a 1 or 0. They have the following significance: 2: Window title 1: Tab tit

Re: [Fish-users] fishfish page

2012-06-06 Thread ridiculous_fish
Hi Tom, fish is mostly POSIX compliant, in the sense of IEEE 1003.1. That is, its behavior for commands like echo, test, cd, pwd, etc. hew close to the POSIX standard. Scripting is where it really diverges. What I hope to convey is that you won't have to learn a whole new command set, because

Re: [Fish-users] cargs alias and completion file

2012-06-06 Thread ridiculous_fish
Thanks Pierre, I opened https://github.com/ridiculousfish/fishfish/issues/45 to track integrating this. _fish On Jun 6, 2012, at 6:04 AM, Pierre Baillet wrote: > Hello, > > Fish looks nice and sweet. I hope it will succeed in changing the shell > landscape for ever :). > > I've just written

Re: [Fish-users] scp remote path completion

2012-06-06 Thread ridiculous_fish
pants, this looks fantastic. Thank you! I opened an issue https://github.com/ridiculousfish/fishfish/issues/42 to remind me to integrate this completion. On Jun 6, 2012, at 2:46 AM, Maxim Gonchar wrote: > As far as I remember bash_completion also could complete remote paths. > > Maxim > > On

[Fish-users] fishfish Open Beta r2 released

2012-06-05 Thread ridiculous_fish
Hello fellow fish fans, Here is release Open Beta r2 of fishfish, my set of improvements to the fish command line shell. You can download it from http://ridiculousfish.com/shell/beta.html , or via the repo at https://gitorious.org/~ridiculousfish/fish-shell/fishfish (branch is fish_fish). Ass

Re: [Fish-users] Fish-users Digest, Vol 65, Issue 6

2012-06-04 Thread ridiculous_fish
On Jun 1, 2012, at 2:54 PM, Axel Liljencrantz wrote: > > 2012/6/1 ridiculous_fish > Hello Axel! I am honored to hear from you. > > I must thank you for fish. It was (and still is) an inspiration for me, both > in > its technical design, and also its user-facing si

Re: [Fish-users] What about Ada in Place of C++ ?

2012-06-04 Thread ridiculous_fish
Axel said most of what I meant to say, but much more succinctly. Ada and Go are both great languages. It's not hard to be a better language than C. If C had been introduced just yesterday, nobody would use it! But C's unique strengths are that it works everywhere, has few build or runtime depen

Re: [Fish-users] Announcing Open Beta for our fancy new fish fork

2012-06-01 Thread ridiculous_fish
On Jun 1, 2012, at 3:01 PM, Axel Liljencrantz wrote: > 2012/6/1 Jan Kanis > > * Who, if anybody has been maintaining the non-fishfish fish codebase? > * Does that person (if s/he exists) have any problem with making fishfish the > default feature branch of fish? > > There hasn't been any offi

Re: [Fish-users] fish_fish

2012-06-01 Thread ridiculous_fish
On May 31, 2012, at 1:13 AM, Maxim Gonchar wrote: >>> 6) I like the idea of autosuggestions, I feel very comfortable and natural >>> with them. I would suggest to add the possibility to set a color to the >>> auto-suggested part (blinking?). >>> Now it's the same as the other part of the comman

Re: [Fish-users] Fish-users Digest, Vol 65, Issue 6

2012-05-31 Thread ridiculous_fish
uations, which I encounter a lot. I plan to use posix_spawn() instead of fork() when possible, because posix_spawn requires less memory on some systems, and has some other nice benefits. I've not encountered any CPU performance issues. Axel, thank you again for your shell, and for your w

  1   2   >