Hi all! Why were 'test' and 'echo' made builtins when we have the external
commands?
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Patrick,
I think a shell has some advantages as an introduction to programming
and computing, and Fish is designed to be simple and consistent. Good
luck and keep us posted about how it goes!
On Tue, Jan 26, 2016 at 4:33 AM, Patrick wrote:
> Hi Siteshwar
>
> Thanks for your post and I received a
Is this correct? I get a different behavior with Fish 2.2.0:
echo test_string #
echo # ^P replaces the command line to:
set_color white; echo hello # Something from my distant history that
does not appear in the output of the command 'history'.
On Fri, Dec 11, 2015 at 8:08 AM, Peter Flood wr
Also, maybe up-arrow should also match directory history?
On Sun, Apr 20, 2014 at 4:14 AM, Philip Ganchev wrote:
> So if the user enters text and presses up-arrow, Fish should match
> input words as substrings of commands in history. If it finds a
> matching command, Fish will su
So if the user enters text and presses up-arrow, Fish should match
input words as substrings of commands in history. If it finds a
matching command, Fish will suggest the command and the directory
where it was executed. The user can:
1. Press Enter to execute the command in the search directory, o
I think the suggestions should not include the part that is already
entered. No need for configuration.
On Mon, Jun 17, 2013 at 1:12 PM, Ilya Kulakov wrote:
> Hi
>
> Whenever I try to complete file or dir names, fish prints suggestions which
> include part of the path I've already entered.
> E.g.
The '.' (dot) built-in is what you are looking for.
On Saturday, May 25, 2013, charlie wrote:
> Wish I had asked this earlier, I've been looking for a replacement for
'source' for a long time now.
>
> On Sat, May 25, 2013 at 8:32 AM, dag.odenh...@gmail.com <
dag.odenh...@gmail.com> wrote:
>>
>> .
Fish's highlighting of incorrect commands could be better if it highlighted
the characters where the command differs from the closest recognized
command, This could be from left to right, or some more sophisticated
matching algorithm like smallest string manipulation. Use a simple
algorithm if the
You need to convert each of the Bash commands in your ~/.bashrc script
to a Fish command, and put it in your fish initialization script.
Instead of 'export', use 'set -U'. Instead of '[', use 'test'. Instead
of the 'fi' keyword, use the 'end' keyword. Instead of defining
aliases, define functions,
On Fri, Jul 20, 2012 at 10:51 AM, Steven Hum wrote:
> I posted this in the github issues and don't mean to double post, but if
> "...statement...&" is intended only to work for simple commands, e.g.
>
> sleep 10s&; sleep 3s&; sleep 6s&
>
> (silly example, I know!) then I can close the ticket as th
On Thu, May 31, 2012 at 12:14 AM, ridiculous_fish
wrote:
>
> On May 30, 2012, at 1:17 PM, Maxim Gonchar wrote:
>
[...]
> 4. I think fish is doing the right thing with "false ; and sdlkfjsdklf".
> That semicolon means that the 'and' is the beginning of a new statement, and
> fish agrees with other
rompt, to show context, messages
or automatic completion suggestions automatically, as you type. That
would allow to make shell features more discoverable, show spelling
corrections and other things.
Philip
--
Hi Raphael,
How would you like Fish to do completion?
Philip
On Tue, Mar 27, 2012 at 2:49 AM, raphael rsc wrote:
> hi,
>
> as the way completion is done with fish is something that prevents me
> to adopt it fully, I was wondering if someone had worked on other
> completion mode
w
> to do it?
> Or can it be fixed?
>
> regards,
> Maxim
That's something that was decided Axel, the legendary developer of
Fish, because he did not want to write ugly code that wraps lines. But
that would be better UI, so anyone who knows
f "GNU ls", you can do:
ls -d1 --indicator-style=none
Regards,
Philip
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, securit
On Mon, Sep 19, 2011 at 6:06 PM, Robert Shinka wrote:
> On Mon, Sep 19, 2011 at 04:18:18PM +0300, Philip Ganchev wrote:
>> On Mon, Sep 19, 2011 at 1:47 AM, Robert Shinka wrote:
>> > On Sun, Sep 18, 2011 at 09:20:21PM +0200, Jan Kanis wrote:
>>
>> >> Bash trea
On Mon, Sep 19, 2011 at 1:47 AM, Robert Shinka wrote:
> On Sun, Sep 18, 2011 at 09:20:21PM +0200, Jan Kanis wrote:
>> Bash treats command substitution and variable expansion as a list of
>> whitespace separated tokens. It also includes escapes to treat both as a
>> single token, in case you do
OK good. Then what's wrong with the current Fish logo?
On Wed, Jul 13, 2011 at 7:13 PM, Terin Stock wrote:
My beef with the ASCII art is that it doesn't seem all that friendly, in
> reality quiet the opposite. Hackers and programmers (arguably one in the
> same) like ASCII art, but not your ave
little thing to have
>> on, perhaps, the first prompt shown on a new terminal (not every prompt,
>> just the first).
>>
>> On Tue, Jul 12, 2011 at 22:21, Philip Ganchev wrote:
>>
>>> One more try.
>>>
>>>
>>> <*)~><
>
One more try.
<*)~><
On Fri, Jul 8, 2011 at 8:59 PM, Patrick Mc(avery <
patr...@spellingbeewinnars.org> wrote:
> Hi Philip
>
> I like the gills on this one,
>
> <*)><
>
> -Patrick
>
>
> On 11-07-08 07:56 PM, Philip Ganchev wrote:
>>
Agreed. And I would suggest that we register fishshell.org when its
old registration expires on September 18 (see
http://whois.domaintools.com/fishshell.org). We are not a .com, after
all.
On Sat, Jul 9, 2011 at 9:36 PM, Robert Shinka wrote:
> https://gitorious.org/fish-shell indicates that the w
can use other ASCII art:
<*)><
<@><
<*~><
Cheers,
Philip
On Fri, Jul 8, 2011 at 3:33 PM, Patrick Mc(avery
wrote:
> Hi Terin, hi List
>
> I am afraid I don't know enough ruby to help.
>
> If Axel is done with us should we create another fish logo? I doubt he
> trademar
localdir
> or
> scp user@server:"dir/file\*" localdir
> or
> scp "user@server:dir/file\*" localdir
[...]
You can either escape the wildcard or quote it:
scp user@server:dir/file\* locadlir
or
scp user@server:dir/"file*" localdir
or
scp user@server:dir
s cleaner than POSIX shell syntax and
lets do anything that you can do in POSIX shells.
Regards,
Philip
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of
e at night but I may have some other
> perspectives/resources that might contribute something, I hope so, it's
> seems like a wonderful project-Patrick
Looking forward to your contributions! Regards,
Philip
--
A
On Sat, Feb 19, 2011 at 12:45 PM, weakish wrote:
> In fish's user doc (section "Combining different expansions"):
>
>> When combining multiple parameter expansions, expansions are performed
>> in the following order:
>>
>> * Command substitutions
>> * Variable expansions
>
> So command substit
te:
> The points are valid, if presented in a combatative manner. I don't think
> it's a silly article.
>
> On Wed, Dec 22, 2010 at 23:00, Philip Ganchev
> wrote:
>>
>> On Wed, Dec 22, 2010 at 11:30 PM, Terin Stock
>> wrote:
>> > Just in cased you
On Wed, Dec 22, 2010 at 11:30 PM, Terin Stock wrote:
> Just in cased you all missed it:
> http://markhansen.co.nz/fish-sucks/
> Discussion?
Thanks, Terin. The article itself is shallow and silly, but any
publicity is good publicity, right?
On Mon, Dec 13, 2010 at 2:10 AM, i...@whywouldwe.com
wrote:
> Is there a way to add to the end of an
> environment variable that is an array
> without explicitly specifying the index?
set -Ux PATH $PATH /some/path
[...]
> set -Ux PATH[-1] /some/path
>
> will change the last element but
>
>
code that has tokens separated by spaces. You
can certainly find shell script code that omits the spaces before or
after the redirection symbols, but I think that's just sloppiness and
poor style; there is no good reason for it.
[...]
Philip
this go into fish-next?
>
> --
> Cheers,
> Grissiom
I think it should go into some kind of "extras" place, maybe the wiki;
but not in the main Fish code because I don't think it's a central
feature.
Philip
on.
I would try to figure out where function "my_keybindings" is being
called and comment out the call, to see if it stops the error
messages.
Another strategy to try is to copy parts of ~/.config/fish/ until you
find the offending file.
Sorry, I don't have too much time to help rig
On Sun, Nov 28, 2010 at 4:58 PM, SanskritFritz wrote:
> On Wed, Nov 24, 2010 at 7:11 PM, SanskritFritz
> wrote:
>>
>> My question is, do you really want to include completions for such very
>> rare scripts like shoutcast-search as well?
>
> I have another question as well: if you check ln.fish fo
Hi James,
Awesome! That's quite elaborate, and I think most of that is very
useful. Thanks for all the work!
On Sat, Nov 27, 2010 at 5:33 PM, James Bowlin wrote:
[...]
> NOTES:
[...]
> I used an ugly kludge to print out a list of all the browsers we
> looked for. I create a temporary directory
Should the message for x-www-browser also mention "x-www-browser" (and
similarly for www-browser)?
'hep: Help is being displayed in x-www-browser, your default browser: %s'
For symlinks, we could use the program namei (if it exists) to check
the last target in a chain of sy
I agree that Ctrl+Left and Ctrl+Right are more customary for moving
forward/backward by 1 word, and Fish should be usable on the console.
That should be the default key combo on Fish.
I don't see the argument against Alt+Up, Alt+Down for moving through
history words.
Philip
On Wed, N
ist from a long time ago:
http://fishshell.org/user_doc/index.html#todo
I also have other ideas for improvements, which are in the mailing
list archives but are not summarized anywhere. We should probably make
a wiki page with suggestions.
Philip
-
The command is ".' (dot)
http://fishshell.org/user_doc/commands.html#source
It does not do both "." and "source" because Fish is intended to have
a small set of features that do different things (the Law of
Orthogonality: http://fishshell.org/user_doc/design.html )
But maybe the documentation fo
Is this the sort of thing you mean?
http://fishshell.org/doc2/pages.html
http://fishshell.org/doc2/annotated.html
http://fishshell.org/doc2/files.html
On Wed, Oct 6, 2010 at 11:37 AM, Nima Sahraneshin wrote:
> Hi
>
>
> I am looking for a technical documen of fish for developing it . Can
> you
On Sat, Jun 5, 2010 at 1:06 AM, Martin Bähr
wrote:
> On Fri, Jun 04, 2010 at 05:31:43PM +0300, Beni Cherniavsky-Paskin wrote:
>> (B) there should be an easy one-press way to quote the current wildcard.
>> Maybe pressing TAB on an unmatched wildcard should quote it?
>
> a slight problem with thi
I love the idea of interactive globbing!
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http:
The problem is more general. For example, on Linux where "help" is
configured to use w3m:
~> help complete
w3m: Can't load file:///usr/share/doc/fish/builtins.html#complete.
~> ls /usr/share/doc/fish/builtins.html
ls: cannot access /usr/share/doc/fish/builtins.html: No such file or directory
~> w3
On Fri, Apr 2, 2010 at 7:28 PM, David Frascone wrote:
> I like the third function . . .. but I'd do a -d $x, since it should be a
> directory :)
Sure. Also, the test should be "contains $x $PATH". And the test
should be done with two if-statements.
---
On Thu, Apr 1, 2010 at 9:46 AM, David Frascone wrote:
>
> There's a really cool feature in zsh that allows you to uniquely add a
> string to the path, if it did not exist before:
>
> typeset -U path
>
> This makes all items in path have to be unique, so then, if you do:
>
> path=(/foo/bin $path)
>
On Thu, Apr 1, 2010 at 10:08 AM, David Frascone wrote:
>
> I'd like to add a function to my config.fish to do some things over and over
[...]
> But, I don't want this function to exist after config.fish is done. Should
> I just erase it before the end of my config.fish:
>
> functions -e add_to_pa
On Tue, Mar 30, 2010 at 3:48 PM, David Frascone wrote:
> Ok -- let's start slow -- my aliases need to be recreated -- which is fine.
It's better to write functions than use "alias". "alias" is a sort of
a crutch; in Fish, it's a function that creates a simple function for
you, but functions in ge
The Fish wiki has a short page about this.[1] Feel free to expand it.
Yes, in Bash, variables are set using "export", not "set"; see the
Bash manual page, section "Shell Builtin Commands".
[1] http://fishshell.org/wiki/moin.cgi/BashToFish
On Thu, Mar 25, 2010 at 11:44 AM, chombee wrote:
> Is the
y.
Of course, you can write a bookmark function that works on any file,
but it still requires that you remember to save the bookmark
explicitly. And maybe it should be interactive, i.e. it should show
where the it's going to cd before it cd's.
Regards,
Philip
On Wed, Oct 7, 2009 at 12:56 PM, the jimmybot wrote:
> ... is there anywhere one
> might find or share custom fish completions or nice little functions /
> scripts?
There was a wiki with completions and functions. I think it was on the
fishshell.org site.
t this command inside
~/.config/fish/functions/config_interactive.fish :
functions --erase pwd
Or, redefine the function pwd, by creating and editing the file
~/.config/fish/functions/pwd.fish .
Cheers,
Philip
--
Com
Fish expands "~" when you access the variable, so why confusion and
why unnecessary typing?
On Thu, Sep 17, 2009 at 11:04 AM, Ken Kinder wrote:
> In Bash, when you set an environment variable to "~/foo", the shell
> automatically expands your home directory. However in fish, if you use the
> set
On 2009-08-09, Daniel Baucom wrote:
> Question:
> Is there an easier way to have fish reload the conf file than doing an:
> exec fish ?
[...]
. ~/.config/fish/fish.config
The "dot" builtin is the equivalent to "source".
---
On Fri, Aug 7, 2009 at 5:29 PM, Ken Kinder wrote:
> Hi. I searched the mailing list and saw this post:
>
> http://www.mail-archive.com/fish-users@lists.sourceforge.net/msg02151.html
>
> I thought I would confirm the same bug, and the same solution. :(
What was a call to alias that didn't work and
ou need to
define a function in file ~/config/fish/functions/fish_prompt.fish .
Philip
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deploym
On Fri, Jul 17, 2009 at 3:55 PM, Alex Griffin wrote:
> When I try to use fish as my default login shell, fish uses 100% CPU
> before I even get to a prompt (although it does show the greeting).
> This doesn't happen when I use fish in any other context. I realize
> you probably need more informatio
On Thu, Jun 18, 2009 at 11:23 AM, Michel Martens wrote:
> Gentlemen:
>
> ~/Source: cd ../Code
> ~/Code: cd -
> fish: complete: Command only available in interactive sessions
> fish: complete: Command only available in interactive sessions
> fish: complete: Command only available in interactive sess
On Wed, Jun 17, 2009 at 2:44 PM, James Aguilar wrote:
> On Tue, Jun 16, 2009 at 19:55, Philip Ganchev
> wrote:
[...]
> This is the closest to what I want. Is there any way to get something like
> this:
>
>> for var in [something]; echo $var[1] "->" $var[2]; end
A for loop iterates over a one-dimensional array:
> for var in val1 val2 val3; ...; end
A pattern can be constructed using braces:
> for var in {1,2}:{a,b}; echo $var; end
1:a
2:a
1:b
2:b
An array of arrays can be created and accessed lik
On Sun, Feb 1, 2009 at 10:39 AM, Axel Liljencrantz
wrote:
>
>
> 2009/1/14 Philip Ganchev
>>
...
>> Actually, none of these commands work for me as you typed them.
>> According to the help, they should be:
>>
>> bind '"\C-p": history-se
On Tue, Jan 27, 2009 at 8:51 AM, wrote:
...
> When I press tab to autocomplete a filename with '=' or '{' in its name the
> fish console hangs. It happends in gnome gterminal and in the text conlose.
...
> I'm running fish 1.23.0-5 on Ubuntu-8.10 x64 installed from ubuntu's
> repository.
Can't
James, Thank you for all your work!
Maybe you should ask Axel for control of the repository and the web
page. That way it might be a little less confusing to newcomers.
On Fri, Jan 16, 2009 at 2:08 PM, James Reeves wrote:
...
> Since Fish seems not to be actively maintained, I've also converted
On Mon, Jan 12, 2009 at 8:03 AM, Goran Josic wrote:
> Hi guys,
>
> I have a strange problem.
> I used google but didn't found any useful information.
>
> In my .config/fish/config.fish I have:
>
> bind \cp history-search-backward
> bind \cn history-search-forward
>
> bind \e. history-token-search-
Hi, Goran
On Thu, Jan 1, 2009 at 2:48 PM, Josic Goran wrote:
...
> I don't know if this is a bug or not but when I type ** the fish shell
> freezes.
That's strange. It does not do that for me. It does this, and what I
would expect:
> **
fish: Illegal command name "**"
> fish --version
fish, ver
On Sun, Dec 28, 2008 at 4:04 PM, Sy Ali wrote:
...
> problem 1:
>
> I don't seem to be able to bind the way I expect. Example:
>
>> bind -k home beginning-of-line
>> test string
>> test string[1~
It seems the named keys do not work when the corresponding character
sequence is bound to something
On Wed, Nov 5, 2008 at 10:59 AM, Abe Bachrach <[EMAIL PROTECTED]> wrote:
[...]
> reason for the change I made is so that it makes searching after you only
> enter a single letter useful.
I guess it would work as you describe. It should not be too
confusing, because if you want something more spec
Thanks, Abe. Without having played with it, I also would think that
this algorithm would be confusing for users. The relevance score may
be a nice idea, though it is arguably even more complicated.
I seem to recall that we once discussed using the position of the
cursor as an indicator; if the c
Couldn't the parsing be more sensitive to the possible errors, thus
avoiding a second pass? For example, if '$' is followed by an illegal
character, check which character that is; if it's "!", print an error
message like "
The '$' character begins a variable name. The character '!',
which directl
On Tue, Sep 30, 2008 at 8:37 PM, Myrddin Emrys <[EMAIL PROTECTED]> wrote:
> Suraj N. Kurapati wrote:
>> What is the equivalent of csh's "!$" expression (which evaluates to
>> the last argument of the previous command) in fish?
>
> I'm curious... I can understand the need to retrieve the previous
>
Press Alt+UpArrow repeatedly until you get the word you need in the buffer.
On Sat, Aug 30, 2008 at 3:43 AM, Alex Greif <[EMAIL PROTECTED]> wrote:
> I am completely new to fish and missing the good old history
> abbreviations lile !$
> Is there a way to simulate this behavior?
---
On Thu, Jun 26, 2008 at 1:45 AM, Dwayne C. Litzenberger <[EMAIL PROTECTED]>
wrote:
> In POSIX shells (including bash), you can do something like this:
>
> #!/bin/sh
> set -e
> false # The shell will exit with a non-zero status here
> echo 'This will never get executed'
>
> Is anything simi
On Thu, Jun 26, 2008 at 4:37 PM, Beni Cherniavsky
[...]
> [EMAIL PROTECTED] ~> if true
> echo long long long long long
> long long long long long long long long long lon
> g long long long long long long
[...]
I think this would be better until we are able to lobby for terminals
It would be nice if the terminal could display newlines visibly so
that ellipses would not be necessary. But even without that, I prefer
lines to be broken without ellipses.
-
Check out the new SourceForge.net Marketplace.
It
On Tue, Jun 17, 2008 at 2:50 AM, David Bremner <[EMAIL PROTECTED]> wrote:
>>>>>> "Philip" == Philip Ganchev <[EMAIL PROTECTED]> writes:
>Philip> Perhaps it should only convert
>Philip> variables it knows should be converted, like PA
On Mon, Jun 16, 2008 at 9:01 AM, David Bremner <[EMAIL PROTECTED]> wrote:
> The automatic conversion of environment variables containing ':' into
> arrays seems to be not so great to me. In particular it leads to mystifying
> experiences like the following.
[...]
>From a practical point of view thi
. For now there is the
BROWSER environment variable, and users can always redefine the "help"
script.
Regards,
Philip
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell serv
I'm trying to define a key binding in my configuration. The only thing
mentioned in the documentation is to use the "bind" command. But if
you do that in my user "config.fish" or "config_interactive", it does
not take effect.
It only works if I define a new function that calls function
"fish_defa
On Fri, Jun 6, 2008 at 7:51 PM, Martin Bähr
<[EMAIL PROTECTED]> wrote:
> On Fri, Jun 06, 2008 at 07:08:26PM -0400, Philip Ganchev wrote:
>> On Fri, Jun 6, 2008 at 12:50 AM, Martin Bähr
>> <[EMAIL PROTECTED]> wrote:
>> > On Thu, Jun 05, 2008 at 05:54:05PM -0400
On Fri, Jun 6, 2008 at 12:50 AM, Martin Bähr
<[EMAIL PROTECTED]> wrote:
> On Thu, Jun 05, 2008 at 05:54:05PM -0400, Philip Ganchev wrote:
>> On 6/2/08, Piotr Husiatyński <[EMAIL PROTECTED]> wrote:
>> > var=$(dmenu_path | dmenu); exec $var
>> functio
On 6/5/08, Isaac Dupree <[EMAIL PROTECTED]> wrote:
>
> in that case I'd rather mention "" (expanded from (echo -n))
> or anyway mention both the value and the expression, for best
> understanding, somehow.
I agree about the principle, but the wording has to be simple.
> BTW. newline is technicall
On 6/5/08, Isaac Dupree <[EMAIL PROTECTED]> wrote:
> Philip Ganchev wrote:
>> I guess what's confusing is the talk about token types, which is are
>> apparently something specific to Fish and not explained in the manual.
>> Why doesn't the message just
On 6/5/08, Frederik 'Freso' S. Olesen <[EMAIL PROTECTED]> wrote:
> Isaac Dupree skrev:
>>[...] Now I tried "help function" like
>>it told me to, since function --help doesn't work, and not only did it
>>shuffle me off to a graphical application -- but to Konqueror, even
>>though I'm running GNOME w
I guess what's confusing is the talk about token types, which is are
apparently something specific to Fish and not explained in the manual.
Why doesn't the message just say
fish: Expected redirection specification, got "\n" (newline)
echo > (echo)
^
or
fish: Invalid file name "" for outp
On 6/2/08, Piotr Husiatyński <[EMAIL PROTECTED]> wrote:
[...]
> var=$(dmenu_path | dmenu); exec $var
[...]
That can be translated as:
function temp_func; dmenu_path | dmenu; end
temp_func
functions -e temp_func
More verbose, but perhaps clearer. If I recall correctly, the reason
for disallo
On Fri, May 30, 2008 at 9:52 AM, Isaac Dupree <[EMAIL PROTECTED]> wrote:
> I hate it! Frequently when I'm using fish and editing something e.g.
> from my history, it will disappear and I can't get it back! Sometimes
> it will mysteriously turn purple and then I have no choice but to keep
What di
On Mon, May 26, 2008 at 11:16 AM, Sorin Ionescu <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Should not something like this be in the global config.fish?
[...]
I think those scripts are useful for converting your init scripts to
Fish, but why do every time you log in? Just do it when you install
Fish.
I found a Zsh completion script - would that help to create a Fish one?
_baz
Description: Binary data
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com
On Sat, Apr 12, 2008 at 9:03 AM, lassoken <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It would be really nice if fish provided API for completion. This would also
> benefit fish itself since if other programs used command completion of fish,
> the number of custom completions would probably increase.
Wha
On Jan 23, 2008 5:54 PM, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
> On Jan 23, 2008 9:17 PM, James Vega <[EMAIL PROTECTED]> wrote:
> > Unfortunately, it looks like fish won't make it into Hardy since Ubuntu
> > is already past the point where they automatically import packages from
> > Debian.
I think it would be useful to be able to type "echo $fish-" and
see completions for "fish_color_command" etc. if there is no match for
"$fish-". I often forget whether a given command, file or variable
name has underscore or hyphen. For example I type "echo
$fish-color-", then have to delete and
On Jan 22, 2008 7:39 PM, Beni Cherniavsky <[EMAIL PROTECTED]> wrote:
[...]
> P.S. unrelated: I just used "help" which tried to launch firefox but
> firefox failed for whatever reason.
> I'm left without ability to see help. This is bad. Not everybody
> knows about BROWSER.
> Proposed solution: he
On Jan 22, 2008 7:39 PM, Beni Cherniavsky <[EMAIL PROTECTED]> wrote:
[...]
> Another idea: "message area": automatically display the helpful
> messages while editing, below the edited command:
I had thought about this for a long time and suggested something like
it maybe a year ago (can't find the
On Jan 22, 2008 1:16 PM, Nick Pilon <[EMAIL PROTECTED]> wrote:
[...]
> 1) Man pages for commands that are in subsections. This is easy enough
> to fix. For example:
> lastwords(1m)- print syscalls before exit. Uses DTrace
[...]
> 2) Man pages with alternative names with just plain weird
I have thought for a while how clean it would be to store variables as
files, similar to how functions are stored as files. Then you can
read and change them outside Fish, even when Fish is not running.
That's conceptually simpler, a form of init file. It also seems to me
technically simpler to i
On Jan 18, 2008 5:01 AM, Stefano Sabatini
<[EMAIL PROTECTED]> wrote:
[...]
> [EMAIL PROTECTED] ~/./f/completions> set -l list (echo foo bar foobar barfoo)
By the way, you can achieve the same using
set -l list foo bar foobar barfoo
On Jan 13, 2008 5:53 AM, Martin Bähr <[EMAIL PROTECTED]> wrote:
> On Sun, Jan 13, 2008 at 02:18:19AM -0500, Philip Ganchev wrote:
> > I was not suggesting that the command should execute with root
> > permissions all the time. It should execute with the least
> > permi
On Jan 11, 2008 6:34 PM, Isaac Dupree <[EMAIL PROTECTED]> wrote:
>
> >> But just doing nothing when I type "sudo !!" is not very friendly. At the
> >> least, it should pop up a message telling me the "fish way" to do it.
> >
> > This is about as complicated as fully implementing "!!".
>
> code com
On Jan 11, 2008 7:38 PM, Martin Bähr <[EMAIL PROTECTED]> wrote:
> On Fri, Jan 11, 2008 at 04:56:57PM -0500, Philip Ganchev wrote:
> > Ideally, you should not have to type "sudo". If a command requires
> > privileges, the user should be able to type the command an
On Jan 11, 2008 4:13 PM, Endolith <[EMAIL PROTECTED]> wrote:
> Beni Cherniavsky <[EMAIL PROTECTED]> writes:
> > appends the last word of the last command, so it won't do
> > what you want in general.
> > But what's wrong with "sudo "?
>
> That's fine I guess. Both this and "!!" are kind of awkwar
On Jan 8, 2008 5:33 PM, Isaac Dupree <[EMAIL PROTECTED]> wrote:
> Axel Liljencrantz wrote:
> > I've been contemplating implementing something like a --local switch
> > to cd, which would change directory and change back when the current
> > block goes out of scope. Should be rather usable.
Isn't t
On 10/17/07, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
[...]
> On 10/17/07, Fernando Canizo <[EMAIL PROTECTED]> wrote:
[...]
> > The only thing left is that sometimes one will really want to truncate a
> > file. In bash this is achieved with this syntax (when noclobber is set):
> >
> > echo "not
1 - 100 of 285 matches
Mail list logo