[Fish-users] Fish snapshots for Ubuntu/Debian

2012-11-08 Thread David Adam
s or problems let me know by email or find me on IRC on irc.gnome.org (Zanchey). Cheers David Adam zanc...@ucc.gu.uwa.edu.au -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Downloa

Re: [Fish-users] Fish snapshots for Ubuntu/Debian

2012-11-11 Thread David Adam
omething like 1.23.1+20120106.git8b407a3-1 on Debian and carefully test the version numbers using dpkg --compare-versions. David Adam zanc...@ucc.gu.uwa.edu.au -- Everyone hates slow websites. So do we. Make your we

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

2012-11-27 Thread David Adam
On Tue, 27 Nov 2012, Luciano ES wrote: > I investigated further and found some old residue that had still been > left around somehow. > > Besides running 'dpkg -r fish' I also ran 'dpkg --purge fish' and 'dpkg > --purge fishfish'. I don't know how I got the idea of purging fishfish, > it just

Re: [Fish-users] Big trouble with GLIBC

2012-12-03 Thread David Adam
s built against that version. If you are definitely running a version you have compile from source, what version of libc6-dev do you have installed? David Adam zanc...@ucc.gu.uwa.edu.au PS: having broken libc on a Debian shell server for a couple hundred people, I feel your pain :-) -

Re: [Fish-users] Editing a command line gets all messy

2012-12-06 Thread David Adam
help me translate it into words for the proper > bug report. :-) This looks to me like https://github.com/fish-shell/fish-shell/issues/409 which has been fixed in revision c8f7d33. Updating to the latest version definitely fixes it for me. Cheers

Re: [Fish-users] Big trouble with GLIBC

2012-12-07 Thread David Adam
On Fri, 7 Dec 2012, Luciano ES wrote: > Now pray tell, how do you make such small binaries? All of your > packages, whole packages, are just under or above 1 MB. In my system, > with fish compiled from source, the sum of fish + fishd + fish_indent + > fish_pager is more than 2.5 MB. What's the t

Re: [Fish-users] Big trouble with GLIBC

2012-12-08 Thread David Adam
On Fri, 7 Dec 2012, Luciano ES wrote: > On Fri, 7 Dec 2012 16:26:39 +0800 (WST), David Adam wrote: > > > On Fri, 7 Dec 2012, Luciano ES wrote: > > > Now pray tell, how do you make such small binaries? All of your > > > packages, whole packages, are just under or

Re: [Fish-users] Fish snapshots for Ubuntu/Debian

2012-12-09 Thread David Adam
On Thu, 8 Nov 2012, David Adam wrote: > I have been doing regularish builds from the Git source and publishing > them as Debian packages. If you are running Debian or Ubuntu, and you want > to run the latest version of fish, you can use my PPA. > > Note that the package is call

Re: [Fish-users] git alias completions

2013-01-04 Thread David Adam
issue #165/#393 being fixed, I can't think of an easy way of getting any further than that though. One useful first step might be adding a '--print' option to `complete` which would output the current completion for a command. Sorry! David Adam zanc...@ucc.gu.uwa.edu.au -

Re: [Fish-users] Autocompletion of ssh hosts on Ubuntu 12.10

2013-01-14 Thread David Adam
mputer | grep cn: | sed > 's/cn: //' | sort -n You should edit the __fish_print_hostnames function (e.g. using `funced`), and add either `cat ~/hosts.txt` or your LDAP search command. Note that putting your password on the command line has the potential to expose

Re: [Fish-users] Replacement for sysctl.h in order to compile under cygwin?

2013-04-22 Thread David Adam
=L\"/usr/local/bin\" -c -o expand.o expand.cpp > expand.cpp:21:24: fatal error: sys/sysctl.h: No such file or directory Perhaps you could try this patch posted on github a few days ago: https://github.com/fish-shell/fish-shell/issues/680

Re: [Fish-users] Fish user documentation

2013-04-30 Thread David Adam
s to the following page. > http://www.fishshell.org/ > > But it is in Japanese, titled as follows! > 車査定※元・査定士が教える査定額アップの裏ワザとは? Check out http://fishshell.com/ (Which version are you using? The newer builds have the correct homep

Re: [Fish-users] Command Not Found in Fish

2013-05-02 Thread David Adam
s with Ubuntu, it is a bit old (1.23.1), and does not contain fish_config. You could use the prebuilt development packages for Ubuntu from https://github.com/fish-shell/fish-shell/#packages-for-linux or using my PPA https://launchpad.net/~zanchey/+archive/fishfish-snapshot David

Re: [Fish-users] Capitalisation error

2013-05-10 Thread David Adam
ry to get the other occurrences fixed. (P.S. sorry for not replying to your other emails yet - I have been pretty busy. If you still have questions you may be best posting to this list.) David Adam zanc...@ucc.gu.uwa.edu.au --

Re: [Fish-users] .profile for fish?

2013-05-20 Thread David Adam
# .bashrc or .zshrc commands stty -ixoff end --8< Hope that helps. David Adam zanc...@ucc.gu.uwa.edu.au -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based applica

Re: [Fish-users] .profile for fish?

2013-05-20 Thread David Adam
On Tue, 21 May 2013, John Chludzinski wrote: > BTW, does fish have any greater relationship to zsh than it does to any > other shell? AFAICT, only insofar as zsh is the best* of the POSIX shells and thus the one most worth consdering the behaviour of. * for some values of best** ** [citation nee

Re: [Fish-users] Fish License

2013-05-28 Thread David Adam
fort of contacting all current copyright holders. It sounds like a good idea, and I would be happy to relicense my contributions. David Adam zanc...@ucc.gu.uwa.edu.au -- Introducing AppDynamics Lite, a free troubleshoo

Re: [Fish-users] export shorthand

2013-05-29 Thread David Adam
On Thu, 30 May 2013, Elis Axelsson wrote: > Time to add this to some FAQ? Or even the tutorial? It gets asked on IRC about once a day as well! It's in the FAQ in the development trunk, but not on the website yet. David Adam zanc...@ucc.gu.uw

Re: [Fish-users] Fedora package

2013-06-17 Thread David Adam
changes, please let us know! Thanks, David Adam zanc...@ucc.gu.uwa.edu.au -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev

Re: [Fish-users] Short prompt

2013-07-21 Thread David Adam
namically adapting your prompt based on the width of the window. You could try inspecting the $COLUMNS variable and outputting a different set of variables in the case that the prompt is too long. It would be nice to have a working example of this either in the

Re: [Fish-users] Build failure on NetBSD 6.0.1

2013-07-31 Thread David Adam
The build failure is caused by tparm() taking a char* on Linux/FreeBSD, and a const char* on NetBSD. Should be easy enough to fix. It compiles and runs ok for me on NetBSD 6.1 with -fpermissive in CXXFLAGS, though. David Adam fish committer zanc...@ucc.gu.uwa.edu.au On Sat, 27 Jul 2013

Re: [Fish-users] fish comments syntax vs bash

2013-08-14 Thread David Adam
om/fish-shell/fish-shell/issues/953 I don't think the behaviour is necessarily a bug, but it does kind of suck; I wouldn't be averse to forcing comments to begin with ' #' unless they are at the beginning of the line. David Adam fish committer zanc...@ucc.gu.uwa.edu.au ---

Re: [Fish-users] environment setup

2013-08-21 Thread David Adam
it's just environment variables then you might be able to get away with it. We don't have a converter for standard shell scripts at this stage, although there is a development prototype on https://github.com/fish-shell/fish-shell/issues/522#issueco

Re: [Fish-users] Build failure on NetBSD 6.0.1

2013-08-21 Thread David Adam
On Thu, 1 Aug 2013, David Adam wrote: > The build failure is caused by tparm() taking a char* on Linux/FreeBSD, > and a const char* on NetBSD. Should be easy enough to fix. > > It compiles and runs ok for me on NetBSD 6.1 with -fpermissive in > CXXFLAGS, though. I've adde

Re: [Fish-users] environment setup

2013-08-21 Thread David Adam
led `source` (replacing '.') is shipped with fish now, and if you have your own `source` function then I suspect you may get entertaining* results with the next release. David Adam fish committer zanc...@ucc.gu.uwa.edu.au *: may not actually entertain and m

Re: [Fish-users] Capture output and status of a command

2013-09-06 Thread David Adam
of set. > > How do I get both at once? Are you using fish 2.0.0? This works for me: ~> set foo (/bin/true); echo $status 0 ~> set foo (/bin/false); echo $status 1 This was added in ad8d68dd43, which is in 2.0.0. David Adam fi

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

2013-09-18 Thread David Adam
hat got picked up in https://github.com/fish-shell/fish-shell/pull/745 and fixed as 9f0775c. You can try a development build, or use `tput lines` to work around it. David Adam zanc...@ucc.gu.uwa.edu.au-- LIMITED TIME SALE -

Re: [Fish-users] fish 2.0.x

2013-10-08 Thread David Adam
tures. There haven't been any of these show-stopper bugs, and development continues apace with a 2.1.0 release not far off. This release will contain fixes for many bugs and some new features. There is almost no software that is bug free, but you can take the lack of release of 2.0.1 th

[Fish-users] Nightly package builds (including new PPA)

2013-10-28 Thread David Adam
at occur with my PPA unless I have lots of spare time. Thanks, David Adam zanc...@ucc.gu.uwa.edu.au fish committer -- Android is increasing in popularity, but the open development platform that developers love is also attra

Re: [Fish-users] Keys not working in fish

2013-11-03 Thread David Adam
cond DLL which also partially emulates UNIX terminal characteristics within the Windows console API. Do those keys work for you if you run fish from a standard cmd.exe/Command Prompt window (i.e. without ConEmu)? Detecting the presence or absence of ConEmu is difficult from within fish running on

Re: [Fish-users] Bugasaurus

2013-11-03 Thread David Adam
using, on what operating system, and where you installed it from? Unfortunately, it looks like your backtrace does not have debugging symbols so it is a bit hard to tell what is going on. David Adam fish committer zanc...@ucc.gu.uwa.edu.au --

Re: [Fish-users] can has static fish?

2013-11-07 Thread David Adam
l push, but even then statically linking fish is not a great idea - we call e.g. getpwent() and getpwnam(), and those will load (through NSS) dynamic libraries depending on system configuration. See, e.g. http://stackoverflow.com/questions/11654143/statically-linking-system-libraries-libc-p

Re: [Fish-users] How to exit on error (bash set -e)

2013-11-10 Thread David Adam
t; set FOO barset -e FOO > echo {$FOO} # prints newline > > What is the equivalent of Bash set -e on Fish? I don't think we have it, as such. You would have to use `; or exit 1` after lines you are worried about, or check $status. I suppose the argument could be made that error handling s

Re: [Fish-users] Completion on alias

2013-11-12 Thread David Adam
completion, this is really unintuitive. Yes - there's been some discussion on this on the issue tracker. See https://github.com/fish-shell/fish-shell/issues/165 and https://github.com/fish-shell/fish-shell/issues/393. David Adam zanc...@ucc.gu.uwa.edu.au -

Re: [Fish-users] How to exit on error (bash set -e)

2013-11-12 Thread David Adam
> On Sun, Nov 10, 2013 at 8:35 AM, Martin Bähr < > mba...@email.archlab.tuwien.ac.at> wrote: > > On Sun, Nov 10, 2013 at 09:09:26PM +0800, David Adam wrote: > > > I suppose the argument could be made that error handling should be > > > explicit. > > >

Re: [Fish-users] Determine in a function if there is anything to read on stdin

2013-11-20 Thread David Adam
; not call "read" then which would open an interactive prompt)? This is a different question; the tty function does not check for the presence or absence of data on stdin. I don't actually know of a clever

Re: [Fish-users] Determine in a function if there is anything to read on stdin

2013-11-20 Thread David Adam
On Thu, 21 Nov 2013, David Adam wrote: > On Wed, 20 Nov 2013, Marcin Zajączkowski wrote: > > How can I determine that my function has something to on read stdin (to > > not call "read" then which would open an interactive prompt)? > > This is a different question;

Re: [Fish-users] Predefined directories where fish should look for directories and files to auto complete

2013-11-30 Thread David Adam
OOBAR will change to /run/media/mylogin/FOOBAR if there is no directory named FOOBAR in the current directory. > ~ $ less FOOBAR/ > files-and-directories-on-my-pendrive I don't have any brilliant suggestions for this case, although you could mangle a completion function which searched

Re: [Fish-users] Word expansion modifiers

2013-11-30 Thread David Adam
conf and use that. Perhaps it is something we could consider shipping. As a last resort, without warranty: ``` if [ ( echo $OENVVER | cut -d . -f 1 ) -ge 5 ] set -g ARCH (uname -p) end ``` David Adam zanc...@ucc.gu.uwa.edu.au -

Re: [Fish-users] script-scoped variables

2013-12-02 Thread David Adam
g --no-scope-shadowing echo $something end ``` > showsomething 1 > echo $something HTH, David Adam zanc...@ucc.gu.uwa.edu.au-- Rapidly troubleshoot problems before they affect your business. Most IT

Re: [Fish-users] proposed fixes to the documentation

2013-12-02 Thread David Adam
be better to call it “fish_version”? We have both! $version, like tcsh, and $FISH_VERSION, like bash and zsh. They are unexported, read-only variables. They need adding to the documentation; I will do so. David Adam zanc...@ucc.gu.uwa.edu.au

Re: [Fish-users] Control key to accept part of a command completion suggestion?

2013-12-03 Thread David Adam
alking down the wrong path when I was reading the makefile. > What toolset is used to generate the html docs from doc_src files? Doxygen - http://www.doxygen.org/ . Make sure you rerun `./configure` after installing it. Patches are welcome - I

Re: [Fish-users] Home and End keys not working with tmuxinator

2013-12-15 Thread David Adam
I can't speak to what tmuxinator does, but if you are trying to tell fish that tmux is like XTerm (instead of like screen) then I am not really surprised that it gets confused. If you use `screen-256color` instead, what does

Re: [Fish-users] how to add a command with its arguments in the title

2013-12-23 Thread David Adam
yet. See https://github.com/fish-shell/fish-shell/issues/334 for discussion. David Adam zanc...@ucc.gu.uwa.edu.au-- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have

Re: [Fish-users] Using compound conditional commands

2013-12-23 Thread David Adam
uff > end Try if begin test $host = 'nfshost' or echo $distro | grep -Eq 'bsd$' end # do stuff end David Adam zanc...@ucc.gu.uwa.edu.au -- Rapidly troubleshoot problems before they

Re: [Fish-users] Using compound conditional commands

2013-12-24 Thread David Adam
nd compares the output of the command substitution, not the return value. `false` produces no output, so the command substitution expands to nothing; thus you are effectively running `test -o`, which (per the POSIX standard [1]) is true. The `-o` and `-a` operators are for comparing express

Re: [Fish-users] Fedora packages!

2013-12-26 Thread David Adam
build the documentation (it is shipped in the tarball). * You probably want to depend on `bc`, `which` and perhaps `man` (not sure if any of these are in the default install on Fedora. I have just seen the rather alarming output of rpmlint on our official packages, so I'm going to mak

Re: [Fish-users] Fedora packages!

2013-12-26 Thread David Adam
etter put the file to build_tools/. > But also, that completion generator outdated. Don't use it. I don't use wajig at all, but would it be easy to update the generator? Or should we just nuke it entirely? Da

Re: [Fish-users] Request review of pull request - issue 1102

2014-01-06 Thread David Adam
On Tue, 7 Jan 2014, Mandeep Sandhu wrote: > Can someone take some time out and review this pull request? > > https://github.com/fish-shell/fish-shell/pull/1216 I had a glance over it the other day but will make some comments now. David Adam fish committer zanc...@ucc.gu.u

Re: [Fish-users] Migrating from 1.X to 2.0

2014-01-06 Thread David Adam
You could try `$_` instead of `$history[1]`, but if you want arguments too then you will run into https://github.com/fish-shell/fish-shell/issues/334 . David Adam zanc...@ucc.gu.uwa.edu.au -- Rapidly troubleshoot problems be

[Fish-users] git tags updated

2014-01-24 Thread David Adam
annotated tag. Thanks, David Adam fish committer zanc...@ucc.gu.uwa.edu.au -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads

Re: [Fish-users] Changing univeral variables

2014-01-25 Thread David Adam
ctive session? What is differences with them? How about difference > between 'set -x' and 'set -xU'? Use `set -Ux`, unless you share your home directory across multiple machines (in which case the config.fish method is better). Ideally, don't use `set -x

Re: [Fish-users] ssh host completion from .ssh/config

2014-01-25 Thread David Adam
ember names, right? :-) There's some discussion of the problems in issue #1260 on github. Basically, the current completions assume that you use the `=` delimiter in your ssh_config, which it turns out is entirely optional. Improvements are in the works. David Adam z

Re: [Fish-users] Fish non-root install

2014-02-04 Thread David Adam
ory `fish-prefix` in your home directory, you can then run: ./configure --prefix=~/fish-prefix make make install ~/fish-prefix/bin/fish David Adam zanc...@ucc.gu.uwa.edu.au -- Managing the Performance of Cloud-Based Applica

Re: [Fish-users] dependencies of fish?

2014-03-09 Thread David Adam
x27;t found anything in the documentation. I added some recently. Have a look at the README.md: https://github.com/fish-shell/fish-shell/blob/master/README.md David Adam zanc...@ucc.gu.uwa.edu.au -- Subversion Kills Produ

Re: [Fish-users] dependencies of fish?

2014-03-09 Thread David Adam
he list: To g...@github.com:fish-shell/fish-shell.git 390a490..689d008 master -> master David Adam zanc...@ucc.gu.uwa.edu.au -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the de

Re: [Fish-users] function eval called while blocking signals

2014-03-26 Thread David Adam
zsh. > > Do you have any idea what to try in order to debug it further? You could try running fish with `fish -d 4` to turn on debug logging. > Should I submit ticket @github? That would help us keep track of things. David Adam zanc...@ucc.gu.uwa.edu.au --

Re: [Fish-users] command substitution issue with interactive command

2014-03-29 Thread David Adam
ake it work? It looks like you're running into https://github.com/fish-shell/fish-shell/issues/1362, which unfortunately does not yet have a solution. David Adam zanc...@ucc.gu.uwa.edu.au --

Re: [Fish-users] Restarting fishd after rebuilding?

2014-04-02 Thread David Adam
and hope for the best. There haven't been any changes which require restarting all fish and fishd instances as far as I can remember, although there are occasionally fixes that require fishd restarts (e.g. the fix for #1225). In fixing #1257 & #1359, I suspect breaking changes that will

[Fish-users] Upcoming release 2.1.1 - security fixes

2014-04-27 Thread David Adam
-shell/fish-shell/issues/1438 David Adam fish committer zanc...@ucc.gu.uwa.edu.au -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJTXcFWAAoJEMC5abKXToiOCZgP/iw0qKD+3WIfUDHvB3sdaZM9 y2mZiE3fSotmL2Sa856pAYapdmv1fIEKnG4EYyefvqStRABaYWjyOka1d6RKMjcs

Re: [Fish-users] Migrating from zsh to fish

2014-04-29 Thread David Adam
ht find the following (third-party) reference useful: http://hyperpolyglot.org/unix-shells If someone were to write one, what would a Migration Guide contain? You might also consider writing and publishing your own notes on t

Re: [Fish-users] Upcoming release 2.1.1 - security fixes

2014-04-29 Thread David Adam
A quick note to say this is taking longer than expected as another problem has been identified and we want to try and fix them all at once. David Adam zanc...@ucc.gu.uwa.edu.au On Mon, 28 Apr 2014, David Adam wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all, >

Re: [Fish-users] Change default path from ~/ to ~/Sites

2014-06-17 Thread David Adam
ong? > > P.S. I'm running OS X 10.9.3 and fish 2.1. Are you trying to alter the path used for executing commands, or your home directory/default cd location? At the moment your function adds `~/Sites` to the path used to look for comma

Re: [Fish-users] bash equivalent of eval

2014-07-03 Thread David Adam
On Wed, 2 Jul 2014, Wai Yan Pong wrote: > What would be the fish equivalent of the bash command > > eval `prog < file` > > I was trying > > eval `slmenu < prog.txt` See the FAQ: http://fishshell.com/docs/current/faq.html#faq-subcommand You can use eval (pr

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

2014-08-27 Thread David Adam
As mentioned in that Github issue, there is currently no way to cross-compile fish using the autoconf/configure build. There are some suggestions on what would need to change at the github issue. David Adam zanc...@ucc.gu.uwa.edu.au On Sun, 24 Aug 2014, Robin Carlier wrote: > Hi! > >

Re: [Fish-users] Upcoming release

2014-08-27 Thread David Adam
will require a fishd restart so there is a bit more than usual involved. After that I am hoping to look at 2.2.0. There are a few rough edges that will need polishing first, but there are certainly lots of new features that it would be good to get into people's hands. Cheers

Re: [Fish-users] Update website's Fedora instructions?

2014-08-27 Thread David Adam
If I install Fedora 21 and then a new fish release is produced, will old versions of Fedora get the new major/minor releases? Or just the point releases? David Adam zanc...@ucc.gu.uwa.edu.au -- Slashdot TV. Video for

Re: [Fish-users] Fish scripts collection

2014-09-02 Thread David Adam
nder github.com/fish-shell, although I don't know if anyone else would be interested in maintaining it. It might be useful to have some sort of 'best practice' document, too. David Adam fish committer zanc...@ucc.gu.uwa.edu.au ---

Re: [Fish-users] Fish not completing some Make targets

2014-09-11 Thread David Adam
See https://github.com/fish-shell/fish-shell/issues/1546 - the Bash completion works by running `make -qp`. Unfortunately that only works for GNU Make. David Adam zanc...@ucc.gu.uwa.edu.au On Thu, 11 Sep 2014, Kevin Ballard wrote: > __fish_print_make_targets is a fishscript function defined

Re: [Fish-users] OSX: build from source, stuck on an old version of fish (FISH_BULID_VERSION=1.3.1-2515-ge689a38)

2014-09-22 Thread David Adam
way tags were applied [1]. Running `git pull --tags` should sort things out. David Adam zanc...@ucc.gu.uwa.edu.au [1]: https://www.mail-archive.com/fish-users@lists.sourceforge.net/msg04045.html-- Meet PCI DSS 3.0

[Fish-users] fish shell 2.1.1 released

2014-09-26 Thread David Adam
fish version 2.1.1 is not vulnerable. No workaround is currently available for earlier versions of fish. https://github.com/fish-shell/fish-shell/issues/1440 David Adam fish committer zanc...@ucc.gu.uwa.edu.au -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/

Re: [Fish-users] fish shell 2.1.1 released

2014-09-26 Thread David Adam
On Fri, 26 Sep 2014, SanskritFritz wrote: > Some new completions from the master branch didn't make it into this > release. Can we have them in the next release? I'm hoping to make a start on 2.2.0 in the near future. 2.2.1 was a bugfix-only release. David Adam zanc...@u

Re: [Fish-users] Using emacs as a $PAGER

2014-10-07 Thread David Adam
be a noop, but actually fixing that exposes a much nastier bug. David Adam zanc...@ucc.gu.uwa.edu.au -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-t

Re: [Fish-users] "set_color: Could not set up terminal" in non-interactive use

2014-10-09 Thread David Adam
a call to `set_color` in your `.config/fish/config.fish`, possibly in a command substitution or a function call, and this gets run for all new instances. I suggest you use `if status --is-interactive` in your config.fish to only set colors and other similar variables if you are

Re: [Fish-users] No colors in directory listings

2014-10-16 Thread David Adam
This only just landed in my inbox (perhaps a delay on the mailing list), but I think this has been sorted out at https://github.com/fish-shell/fish-shell/issues/1758 David Adam zanc...@ucc.gu.uwa.edu.au On Wed, 15 Oct 2014, Stephan Monecke wrote: > -BEGIN PGP SIGNED MESSAGE- >

Re: [Fish-users] gpg-agent problem with global variable

2014-10-25 Thread David Adam
sh will split colon-separated variables into arrays when it inherits them (this is the wrong behaviour and is fixed in the version under development), but it reassembles them with colons before exporting them to child processes. Unless you need to pass the $GPG_AGENT_INFO v

Re: [Fish-users] invalid options are not highlighted in red

2014-11-04 Thread David Adam
highlighting. Hope that helps! David Adam zanc...@ucc.gu.uwa.edu.au [1]: https://github.com/fish-shell/fish-shell/commit/6eb66770a49944 On Mon, 3 Nov 2014, Santhosh T wrote: > the article http://lwn.net/Articles/136232/ says that > fish shell can show misspelled options as errors. > &

Re: [Fish-users] invalid options are not highlighted in red

2014-11-10 Thread David Adam
~/.config/fish/functions/complete.fish. [DAA] On Wed, 5 Nov 2014, Santhosh T wrote: > HI David, > > so the feature is there. is there any way to make authoritative by default > explicitly > > - santhosh > > On Wed, Nov 5, 2014 at 9:24 AM, David Adam > wrote: > >

Re: [Fish-users] invalid options are not highlighted in red

2014-11-10 Thread David Adam
Yes indeed! David Adam zanc...@ucc.gu.uwa.edu.au On Mon, 10 Nov 2014, Diego Zamboni wrote: > I think the "complete" inside the function should be "builtin complete" > to ensure the native function is called. > > --Diego > > > On Nov 10, 2014, at 1:59 A

Re: [Fish-users] Problem with -n in a conditional statement

2014-11-11 Thread David Adam
otation marks which ensure there are two arguments. David Adam zanc...@ucc.gu.uwa.edu.au -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobil

Re: [Fish-users] how to echo minus symbol

2014-11-12 Thread David Adam
This is a known bug in fish 2.1.x that will be fixed in the next minor release. https://github.com/fish-shell/fish-shell/issues/1459 David Adam zanc...@ucc.gu.uwa.edu.au On Thu, 13 Nov 2014, Santhosh T wrote: > the command: > > echo - > > prints nothing > > i tried foll

Re: [Fish-users] How to write dynamic fish completions

2014-11-13 Thread David Adam
comment in the bash definition), but if you do, something like this in your ~/.config/fish/completions/drush.fish should work: ``` function __complete_drush set -lx IFS '\n' drush --early=includes/complete.inc (commandline -cpo) end complete -x -c drush -d "Dr" -a '(_

Re: [Fish-users] Exit status in functions

2014-11-15 Thread David Adam
if wmctrl -a "Firefox" firefox end end Hope that helps. I think you might be getting mixed up with the return values from wmctrl - it

Re: [Fish-users] Using fish without fishd

2014-11-17 Thread David Adam
mux - see the discussion at http://seclists.org/oss-sec/2014/q1/60 but it boils down to a) not preventing the functioning of the software and b) being user-visible and easy to work around. Summary: All currently-released and active development versions of fish require a socket or FIFO pa

Re: [Fish-users] fish shell 2.1.1 on DragonFlyBSD 3.8.2 -- fish command line seems broken (connect via PuTTY ssh, start fish shell from tcsh shell command line);

2014-11-27 Thread David Adam
uot; On broken platforms, the string returned is L"\000\000\376\377\000\000\000#\000\000\000 \000\000\000T\000\000\000h\000\000\000i\000\000\000s\000\000\000 \000\000\000f\000\000\000i\000\000\000l\000\000\000e\000\000\000 ..." There's an extra byte there and I'm not sure wher

Re: [Fish-users] fish shell 2.1.1 on DragonFlyBSD 3.8.2 -- fish command line seems broken (connect via PuTTY ssh, start fish shell from tcsh shell command line);

2014-11-28 Thread David Adam
(See the tail end of the message.) On Fri, 28 Nov 2014, David Adam wrote: > On Thu, 27 Nov 2014, Steve Petrie, P.Eng. wrote: > > Trying to get fish 2.1.1 shell working (via PuTTY ssh terminal) on > > DragonFlyBSD 3.8.2 running on a QEMU-KVM virtual machine provided by > &

Re: [Fish-users] fish: instead of prompt

2014-12-19 Thread David Adam
ou are happy building from source, either use the patch below against 2.1.1, or try the current git master. David Adam zanc...@ucc.gu.uwa.edu.au --- diff --git a/env_universal_common.cpp b/env_universal_common.cpp index 2b12cf1..2992a88 100644 --- a/env_universal_common.cpp +++ b/env_universal

Re: [Fish-users] Fishd losing universal variables

2014-12-20 Thread David Adam
ult). Variables are also carried over when logging out and > logging back in. > > I have no idea how to troubleshoot this problem, so is there anyone who > can point me in the right direction? Strange. Does the name of your `fishd.ID` file change across reboots?

[Fish-users] fish 2.1.2 released

2015-02-27 Thread David Adam
ected. The details of the problem are at https://github.com/fish-shell/fish-shell/issues/1859 New tarballs and OS X binaries can be downloaded at http://fishshell.com/ . We haven't respun the Linux builds are there are no changes. Thanks to all those involved in tracking down the issue!

[Fish-users] gitter.im room

2015-03-19 Thread David Adam
available - #fish on irc.oftc.net. David Adam zanc...@ucc.gu.uwa.edu.au -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your h

Re: [Fish-users] Dependency on lynx ?

2015-03-24 Thread David Adam
ntainers, but you will need a a graphical web browser (not Lynx) to use the optional web-based configuration UI. David Adam zanc...@ucc.gu.uwa.edu.au -- Dive into the World of Parallel Programming The Go Parallel Webs

Re: [Fish-users] local config in function of the current directory?

2015-04-08 Thread David Adam
he solution ? There's quite a few implementations, but Justin Mayer's tackle repository includes a virtualhooks plugin which seems sane: https://github.com/justinmayer/tackle/tree/master/modules/virtualhooks You will need to install his tacklebox framework manager first: https://gith

Re: [Fish-users] local config in function of the current directory?

2015-04-13 Thread David Adam
direnv also has a good security policy of requiring explicit authorisation. David Adam zanc...@ucc.gu.uwa.edu.au -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordan

Re: [Fish-users] Unable to print wide characters

2015-04-20 Thread David Adam
s possible that it got saved with the wrong encoding. If you copied and pasted from the web page you linked, make sure you have your browser and editor set to UTF-8. David Adam zanc...@ucc.gu.uwa.edu.au -- BPM Camp - Free

Re: [Fish-users] HISTTIMEFORMAT not applied

2015-04-20 Thread David Adam
ntly any UI to view it. If someone would like to take it on I think it would be gratefully received - perhaps flags to the history command? David Adam zanc...@ucc.gu.uwa.edu.au -- BPM Camp - Free Virtual Workshop May 6t

[Fish-users] Beta release fish 2.2b1

2015-05-11 Thread David Adam
ches are most welcome! David Adam fish committer zanc...@ucc.gu.uwa.edu.au -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCAAGBQJVULjBAAoJEMC5abKXToiOZs0P/3Dsof7TCBdH02YdCTJI36S+ EgwzxwMeIycHBNOL6wKDpg8EJmHciuUMI6MHc/48vV0aoUya7kj9Jm3ZX3Ys8Rb

Re: [Fish-users] Beta release fish 2.2b1

2015-05-20 Thread David Adam
hd.arsenic.notifier': Device or resource busy Cygwin is fun. I don't really have an environment set up to debug it at the moment. Konrad (@xfix) normally looks at the Cygwin builds, so I've copied him on

Re: [Fish-users] login shell under FreeBSD

2015-06-18 Thread David Adam
DE? Terminals started under desktop environments generally aren't login shells - have you considered using `status --is-interactive` to set your terminal up? Alternatively, urxvt can be told to start a login shell. Start it with `urxvt -ls`, or drop the line "URxvt*loginShell: true"

Re: [Fish-users] Beta release fish 2.2b1

2015-06-18 Thread David Adam
nkered with the code and discovered, unsurprisingly, > that it's nontrivial to fix. It's somewhere on my todo list and > presumably others', so if you can hang tight for a year or three, it may > well get resolved. Otherwise, I'm afraid it's probably one of t

Re: [Fish-users] fish_config unreactive

2015-06-19 Thread David Adam
47 and https://github.com/fish-shell/fish-shell/issues/1860 for information on the problem and how to fix it. New Debian packages do not have this problem; Ubuntu is still shipping problematic packages in some distributions. Alternatively, try the packages at http://fishshell.com

  1   2   >