Re: [Fish-users] Where are the colors stored?

2023-02-22 Thread Kurtis Rader
t > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users

Re: [Fish-users] Yet another * issue

2020-08-31 Thread Kurtis Rader
://fishshell.com/docs/current/index.html#variables-override>, count > <http://fishshell.com/docs/current/cmds/count.html#cmd-count> and for > <http://fishshell.com/docs/current/cmds/for.html#cmd-for>. Their globs > are permitted to expand to zero arguments, as with sh

Re: [Fish-users] Yet another * issue

2020-08-31 Thread Kurtis Rader
hrd/software/bootloader/u-boot-socfpga/arch/arm/dts/*10* Then test if $files is not empty: if set -q files[1] ls $files end -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ___ Fish-users mailing list Fish-users@lists.sourcefor

Re: [Fish-users] || and propagate error

2019-09-07 Thread Kurtis Rader
On Sat, Sep 7, 2019 at 9:08 AM Marcin Zajączkowski wrote: > Sure. I want to be able to call other command on the command failure: > > > my_command || call_error_handler > > where the error handler could be curl to https://healthchecks.io/ The following script produces this result:

Re: [Fish-users] Help me get rid of the blue

2019-05-09 Thread Kurtis Rader
directory to a different system you will automatically get your fish color preferences on that machine. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users

Re: [Fish-users] Help me get rid of the blue

2019-05-07 Thread Kurtis Rader
_color autosuggestion red green -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users

Re: [Fish-users] Help me get rid of the blue

2019-05-07 Thread Kurtis Rader
//fishshell.com/docs/current/index.html#variables-color -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users

Re: [Fish-users] Completion problem with regexp and string concatenation

2019-03-06 Thread Kurtis Rader
ed in double-quotes. Unlike a POSIX shell where you do need to quote the var expansion to keep it from being split on $IFS. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ___ Fish-users mailing list Fish-users@lists.sourceforge.net htt

Re: [Fish-users] Problem using ~ in path

2018-09-26 Thread Kurtis Rader
rectory of the > process owner. This is also how it works in shells like ksh and bash. The shell has no way of knowing that the string following "if=" is a path. You can use a var to do it: set x ~/Downloads/... sudo dd if=$x ... -- Kurtis Rader Caretaker

Re: [Fish-users] Problem expanding file names

2018-07-31 Thread Kurtis Rader
be handled: https://github.com/fish-shell/fish-shell/issues/new. Even better would be if you opened a pull-request with a fix. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the vibrant

Re: [Fish-users] "here document" for FISH ?

2018-06-05 Thread Kurtis Rader
think you can make a convincing argument for implementing the feature you should open an issue: https://github.com/fish-shell/fish-shell/issues/new -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank --

Re: [Fish-users] "set -x" problem?

2018-05-11 Thread Kurtis Rader
> -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Fish-us

Re: [Fish-users] "set -x" problem?

2018-05-11 Thread Kurtis Rader
ting to fish. And it doesn't look like any of the other devs feel it is important enough to include. On Fri, May 11, 2018 at 4:06 PM, Kurtis Rader <kra...@skepticism.us> wrote: >>> >>>> It is working correctly. You're naturally confused because fish special >>>>

Re: [Fish-users] Chrome crashing scews up FISH

2018-02-27 Thread Kurtis Rader
d the contents of /var/log/syslog (or whatever the name of the system log is on Fedora 27) for error messages. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the vibrant tech community on

Re: [Fish-users] Just did a 'dnf update' for Fedora 25 and now get this for any command

2017-12-11 Thread Kurtis Rader
-- > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net >

Re: [Fish-users] dirh numbers

2017-10-20 Thread Kurtis Rader
` command presents the same info (with duplicates removed) and lets you select one by number or letter. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the vibrant tech community on one o

Re: [Fish-users] shortening long switch names

2017-10-10 Thread Kurtis Rader
on is unique or is an exact match for some defined > option. A long option >may take a parameter, of the form --arg=param or --arg param. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [Fish-users] running functions in background

2017-09-24 Thread Kurtis Rader
_ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out

Re: [Fish-users] running functions in background

2017-09-24 Thread Kurtis Rader
. Someone just needs to write the code to implement the idea :-) -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the vibrant tech community on one of the world's most engaging tech sites,

Re: [Fish-users] set_color --dim

2017-09-22 Thread Kurtis Rader
On Fri, Sep 22, 2017 at 1:10 PM, Kurtis Rader <kra...@skepticism.us> wrote: > On Thu, Sep 21, 2017 at 6:20 AM, Mark Volkmann <r.mark.volkm...@gmail.com> > wrote: > >> Is it possible to get "set_color --dim" to work on macOS? >> It was quite a b

Re: [Fish-users] set_color --dim

2017-09-22 Thread Kurtis Rader
term terminfo definitions don't either. Both Terminal.app and iTerm2 support dim mode but if you're using a xterm terminfo definition (e.g., "xterm-256color") then fish doesn't know the terminal supports it. You'll need to create a custom terminfo definition that includes "ente

Re: [Fish-users] commands that do not set status

2017-09-17 Thread Kurtis Rader
quot;, "for", "switch", "while", "continue", "break". The status of the commands that follow them is visible for the keywords which take a command (e.g., "builtin"). However, ev

Re: [Fish-users] Fish shell on Android

2017-09-14 Thread Kurtis Rader
re to find it but one exists since we've had a few issues opened about using fish inside termux on Android. Such as this one: https://github.com/fish-shell/fish-shell/issues/4269 -- Kurtis Rader Caretaker of the exceptional ca

Re: [Fish-users] fish_history problem

2017-09-12 Thread Kurtis Rader
e but it isn't supported and its possible you won't end up with the desired result. You should instead use `history delete`. You can safely remove ~/.config/fish/fish_history. -- Kurtis Rader Caretaker of the exceptional

Re: [Fish-users] comparing strings in fish

2017-09-04 Thread Kurtis Rader
On Mon, Sep 4, 2017 at 8:27 AM, Greg Reagle <greg.rea...@umbc.edu> wrote: > On Mon, Sep 4, 2017, at 11:04, Kurtis Rader wrote: > > Beware `expr`s automatic coercion of strings to ints. If you do `expr > '234 < 1234' you'll > > get false despite "234" being lex

Re: [Fish-users] comparing strings in fish

2017-09-04 Thread Kurtis Rader
alse despite "234" being lexically greater than "1234". Which may be what you want but it's a potential gotcha if you really wanted a string, not int, comparison. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -

Re: [Fish-users] functions generated by alias command

2017-09-02 Thread Kurtis Rader
d with. If you do want a function that should never be run with any arguments you should do so explicitly: function greet if set -q argv[1] echo greet: no arguments allowed >&2 exit 1 end echo Hello $USER

Re: [Fish-users] bug in computing COLUMNS?

2017-09-02 Thread Kurtis Rader
On Sat, Sep 2, 2017 at 6:05 AM, Greg Reagle <greg.rea...@umbc.edu> wrote: > On Fri, Sep 1, 2017, at 15:05, Kurtis Rader wrote: > > Fish won't work if the terminal height is less than two. I don't recall > the exact value but > > it also won't behave sensibly if the wi

Re: [Fish-users] bug in computing COLUMNS?

2017-09-01 Thread Kurtis Rader
ell/issues/2559. To give the user a chance of seeing some output and typing commands the current code assumes the stty values are invalid if they are unreasonably small and falls back to the legacy lowest common denominator of 80x24. -- Kurtis Rader

Re: [Fish-users] Variable scopes

2017-08-27 Thread Kurtis Rader
On Sun, Aug 27, 2017 at 12:36 PM, Mark Volkmann <r.mark.volkm...@gmail.com> wrote: > Ah, I was looking for something like "set --show". Thanks Kurtis! > Do you know approximately when Fish 2.7 will be released? > The date is a bit squishy but it should happen sometime

Re: [Fish-users] Variable scopes

2017-08-27 Thread Kurtis Rader
e: set in universal scope, unexported, with 2 elements $varname[1]: length=9 value=|universal| $varname[2]: length=5 value=|value| -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the vibr

Re: [Fish-users] wc counts too many characters when reading __fish_vcs_prompt

2017-08-26 Thread Kurtis Rader
certainly escape sequences to color the output. Run `__fish_vcs_prompt | od -tx1z` to see them. At the moment there is no good way to get a count of the displayable characters. I opened an issue to propose implementing a `string width` command to help with this but it hasn't

Re: [Fish-users] funced and funcsave

2017-08-24 Thread Kurtis Rader
that clearer in the docs. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slas

Re: [Fish-users] removing a list item in a function

2017-08-23 Thread Kurtis Rader
ble. You want set -eg $listName[1][$index] -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the vibrant tech community on one of the world's most engaging

Re: [Fish-users] writing error messages

2017-08-20 Thread Kurtis Rader
iting to stderr is not the > answer. > Glenn's answer works but if you want to ensure you're using whatever color standard fish code uses you should use the `$fish_color_error` variable; e.g., `echo (set_color $fish_color_error)my error message(set_color normal) >&2`. -- Kurtis Rader Caretake

Re: [Fish-users] why all the questions?

2017-08-20 Thread Kurtis Rader
On Sun, Aug 20, 2017 at 3:28 PM, Mark Volkmann <r.mark.volkm...@gmail.com> wrote: > On Sun, Aug 20, 2017 at 5:15 PM, Kurtis Rader <kra...@skepticism.us> > wrote: >> >> This statement, "for Window, can only run in Cygwin", isn't true. While >> w

Re: [Fish-users] why all the questions?

2017-08-20 Thread Kurtis Rader
ng list. There are many other changes we can only do in a major release that might make it into 3.0. See https://github.com/fish-shell/fish-shell/milestone/7 for other items that might make it into 3.0. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [Fish-users] funced and funcsave

2017-08-20 Thread Kurtis Rader
temporary file it created. The temporary file is an implementation detail and thus not documented. Apparently you have done something like `alias rm rm -i`. It might make sense to modify `funced` to do `rm -f` to override the `-i` option. I don't like doing that, however, because it also suppresses

Re: [Fish-users] funced and funcsave

2017-08-19 Thread Kurtis Rader
just directly edit the autoloaded script in ~/.config/fish/functions. Existing fish sessions will notice within a few seconds that the script file has changed and reload it. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ---

Re: [Fish-users] status current-line-number

2017-08-19 Thread Kurtis Rader
status current-line)` do? What stack frame should it use? That question is basically the crux of https://github.com/fish-shell/fish-shell/issues/4161. Feel free to comment on that issue. -- Kurtis Rader Caretaker of the exceptional

Re: [Fish-users] status current-line-number

2017-08-19 Thread Kurtis Rader
e moment that feature is pretty much unusable. See https://github.com/fish-shell/fish-shell/issues/4161 -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the vibrant tech community on on

Re: [Fish-users] default function parameters

2017-08-18 Thread Kurtis Rader
which can have zero, one, or more values. `set -q var[1]` is the idiomatic way to test that the var is not only set but also has at least one value. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Ch

Re: [Fish-users] default function parameters

2017-08-18 Thread Kurtis Rader
On Fri, Aug 18, 2017 at 4:12 PM, Greg Reagle <greg.rea...@umbc.edu> wrote: > On Fri, Aug 18, 2017, at 18:51, Kurtis Rader wrote: > > Add this to the top of the function: > > > > set -q language[1] > > or set language english > > There is a potential probl

Re: [Fish-users] wildcards ** and ***

2017-08-18 Thread Kurtis Rader
- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net >

Re: [Fish-users] default function parameters

2017-08-18 Thread Kurtis Rader
munity on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > > -- Kurtis Rader Caretaker of the exceptio

Re: [Fish-users] use of function --description

2017-08-17 Thread Kurtis Rader
ere writing a completion script using the `complete` command. See `man complete`; specifically the `--arguments` option. On Thu, Aug 17, 2017 at 10:20 PM, Kurtis Rader <kra...@skepticism.us> wrote: > >> On Thu, Aug 17, 2017 at 8:14 PM, Mark Volkmann <r.mark.volkm...@gmail.com >>

[Fish-users] if you build from git source please read (git master branch SNAFU)

2017-08-14 Thread Kurtis Rader
release. Note that this release will include backward incompatible changes that might require changes to your personal fish config or plugins that you use. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [Fish-users] Common shell functionality

2017-08-11 Thread Kurtis Rader
nd to do that the "status" command needs some enhancements. Until then it is sometimes useful to run the script with `-d3` to better understand the sequence of commands run. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ---

Re: [Fish-users] how do I delete the fish shell history ?

2017-08-09 Thread Kurtis Rader
ry` command in the past couple of years. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the vibrant tech community on one of the world's most engaging te

Re: [Fish-users] how do I delete the fish shell history ?

2017-08-09 Thread Kurtis Rader
really want an empty history you need to rename or delete your ~/.bash_history file before doing the next step. Exit all your fish shells. Start /bin/sh or some other non-bash shell then remove your fish history: rm ~/.local/share/fish/fish_history -- Kurtis Rader Caretaker of the exceptional ca

Re: [Fish-users] how to disable scripting help

2017-07-20 Thread Kurtis Rader
ist > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check

[Fish-users] fish 3.0 under development

2017-07-20 Thread Kurtis Rader
ts that have already been merged <https://github.com/fish-shell/fish-shell/blob/master/CHANGELOG.md>. After that there may be fish 2.7.x releases if significant bugs are found. -- Kurtis Rader Caretaker of the exceptional canin

[Fish-users] do you call `read` with no var name(s)?

2017-07-16 Thread Kurtis Rader
See issue https://github.com/fish-shell/fish-shell/issues/4220 Is there a reason to continue allowing `read` with no var name(s) to store the result of the read? -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

[Fish-users] do you use `status current-line-number` or have an opinion about it?

2017-06-24 Thread Kurtis Rader
would like it to behave. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link

Re: [Fish-users] what is wrong with this use of test and $argv?

2017-06-24 Thread Kurtis Rader
--- > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______ > Fish-users mailing list > Fish-us

[Fish-users] should we do a fish 3.0 (major) release?

2017-06-21 Thread Kurtis Rader
Please read this issue <https://github.com/fish-shell/fish-shell/issues/4154> and comment. We have some non-backward compatible changes we'd like to make and would like input from the fish user community. -- Kurtis Rader Caretaker of the exceptional canines Junior an

Re: [Fish-users] Slow git completions / debugging completions

2017-06-11 Thread Kurtis Rader
t; -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sou

Re: [Fish-users] Custom completions ignored in ~/.config/fish/completions

2017-06-02 Thread Kurtis Rader
script found in the directories enumerated by the $fish_complete_path var you need to explicitly load the other possible completion scripts. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check

Re: [Fish-users] How to bind a key sequence to another key sequence?

2017-03-20 Thread Kurtis Rader
s this other sequence". It is not clear such a feature would be useful and unambiguous; e.g., how do you deal with cycles? But if you can define a sensible syntax and behavior for it please open an issue at https://github.com/fish-sh

Re: [Fish-users] How to bind a key sequence to another key sequence?

2017-03-20 Thread Kurtis Rader
? > I do not understand the question. You can bind a key sequence to any sequence of commands, not just a function. It doesn't make sense to execute `bind abc ab` where the final `ab` in that command refers to the character sequence in `bind ab some_function`. -- Kurtis Rader Caretaker of the

Re: [Fish-users] Completion prefixes are invisible

2017-03-13 Thread Kurtis Rader
gt; -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______ > Fish-users mailing list >

Re: [Fish-users] fish_update_completions doesn't produce completions for readelf.

2017-02-24 Thread Kurtis Rader
` command be improved to handle that man page or requesting that a custom completion script be written. Note that the issue is more likely to be resolved quickly if you're willing to create change to the code :-) -- Kurtis Rader Caretaker of the exceptional ca

Re: [Fish-users] What are the limits?

2017-02-14 Thread Kurtis Rader
bruary 14, 2017, Kurtis Rader <kra...@skepticism.us> > wrote: > > The fish shell has no hard code limits on such things. You're > essentially limited by available memory (or virtual address space). > > > That's what I would have guessed. > > But I was suddenly curious,

Re: [Fish-users] Possibly broken echoing

2017-02-13 Thread Kurtis Rader
--- > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.ne

Re: [Fish-users] Fish runtime dependencies

2017-02-09 Thread Kurtis Rader
.link/slashdot > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ---

Re: [Fish-users] find fish and basename

2017-01-31 Thread Kurtis Rader
t recommend the `-exec` solution is it's less efficient than the alternatives. It's also often harder to read which can lead to mistakes. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- Check out the

Re: [Fish-users] find fish and basename

2017-01-30 Thread Kurtis Rader
not run for each matching file name. You need to do this via a script. Something like (untested): find /search/path -iname "*.pcap" -print0 | while read -z path set -l basename (basename $path) /path/to/tool -para1 $path -para2 /tmp/results/$base

Re: [Fish-users] Recent change broke INT handling?

2017-01-25 Thread Kurtis Rader
; > > That looks like the head of a branch, iothread_perform_lambda, that has > several other commits. > > Correction. Not the head. I used git gui for the first time and > misinterpreted the output. But it's definitely that branch. > > > > > > > > On We

Re: [Fish-users] Recent change broke INT handling?

2017-01-25 Thread Kurtis Rader
mbda` branch. It is irrelevant unless you have done `git checkout iothread_perform_lambda` which is something you should not be doing. All that matters is the `master` branch unless you are reviewing a pull-request and want to test the branch associated with that PR. -- Kurtis Rader Caretaker of the

Re: [Fish-users] Recent change broke INT handling?

2017-01-25 Thread Kurtis Rader
ist_t; bool job_list_is_empty(void); -/// A class to aid iteration over jobs list. Note this is used from a signal handler, so -/// careful to not allocate memory. +/// A class to aid iteration over jobs list class job_iterator_t { job_list_t *const job_list; job_list_t::iterator curren

Re: [Fish-users] Recent change broke INT handling?

2017-01-25 Thread Kurtis Rader
th the build from the master branch installed (I didn't bother to stash > my local fish_vi_cursor.fish, since that didn't affect previous outcomes), > ^C doesn't work. > > > > On Wed, Jan 25, 2017 at 06:23:17PM -0800, Kurtis Rader wrote: > > On Wed, Jan 25, 2017 at 6:04

Re: [Fish-users] Recent change broke INT handling?

2017-01-25 Thread Kurtis Rader
class to aid iteration over jobs list. Note this is used from a signal handler, so it must be -/// careful to not allocate memory. +/// A class to aid iteration over jobs list -- Kurtis Rader Caretaker of the exceptional canines Jun

Re: [Fish-users] Recent change broke INT handling?

2017-01-25 Thread Kurtis Rader
hanks for bringing this to our attention. I've opened https://github.com/fish-shell/fish-shell/issues/3780 If you can confirm that building fish from commit f4476100 works for you that would be appreciated. -- Kurtis Rader Caretaker of the excep

Re: [Fish-users] MacOs: Command-Delete binding

2017-01-04 Thread Kurtis Rader
sequence sent by other keys. iTerm.app allows you to do so for left-option and right-option independent of each other while Terminal.app has a single configurable setting that applies to both option keys. -- Kurtis Rader Caretaker of the excepti

Re: [Fish-users] Unexpanded arguments?

2016-12-19 Thread Kurtis Rader
On Mon, Dec 19, 2016 at 9:00 AM, Mike Meyer <m...@mired.org> wrote: > Is it possible to get to the unexpanded arguments inside a function? It'd > be nice to do something like (from zsh): > No, it isn't. See https://github.com/fish-shell/fish-shell/issues/1511 -- Kurtis

Re: [Fish-users] `` vs ()

2016-12-12 Thread Kurtis Rader
h-command-substitution-doesnt-work-like-in-bash-or-zsh/28129450#28129450 However, rather than using `tr` as suggested in that SO thread I would recommend using the `string split` builtin. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank --

Re: [Fish-users] How to expand wildcard?

2016-11-30 Thread Kurtis Rader
as equivalent > of this one? > I don't know what that does. Fish already has a pretty good completion system that will suggest appropriate flags and subcommands depending on what you have already typed.

Re: [Fish-users] Porting Fish shell to Haiku

2016-11-30 Thread Kurtis Rader
efining your own ~/.config/fish/functions/open.fish autoload script that is empty. We have a PR open, https://github.com/fish-shell/fish-shell/pull/3571, that is likely to remove that function. > - Is this latest release "LastC++03” an official one? Have not seen any > info about it

Re: [Fish-users] external command inside function fails on OSX

2016-11-30 Thread Kurtis Rader
util erasevolume HFS+ ramdisk "/dev/disk1" > Started erase on disk1 > Unmounting disk > Erasing > Initialized /dev/rdisk1 as a 12 GB case-insensitive HFS Plus volume > Mounting disk > Finished erase on disk1 ramdisk > > A+ > Dave > > -

Re: [Fish-users] How to expand wildcard?

2016-11-30 Thread Kurtis Rader
But fish won't expand. > Omit the asterisk. Filename completion does fuzzy literal matching. It doesn't support wildcards or regexes. -- Kurtis Rader Caretaker of the ex

Re: [Fish-users] Completion on a function

2016-11-25 Thread Kurtis Rader
it has a `--wraps` flag. FWIW, I think the `complete` command should have a query option to make it easy to output only the completions for a specific command. That's another enhancement request someone could make if they felt strongly about it. -- Kurtis Rader Caretaker of the exceptional canin

Re: [Fish-users] Completion on a function

2016-11-25 Thread Kurtis Rader
On Fri, Nov 25, 2016 at 7:46 PM, Shiyao Ma <i...@introo.me> wrote: > Thanks. > > Problem solved. > You're welcome. For the record the issue about `functions $funcname` not showing the `--wraps` flag is issue #1625 <https://github.com/fish-shell/fish-shell/issues/1625

Re: [Fish-users] How to specify the completion layout length?

2016-11-25 Thread Kurtis Rader
gt; > > > -- > > 吾輩は猫である。ホームーページはhttps://introo.me <http://introo.me>。 > > > -- > > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sour

Re: [Fish-users] Completion on a function

2016-11-25 Thread Kurtis Rader
s. > > -- > > 吾輩は猫である。ホームーページはhttps://introo.me <http://introo.me>。 > > > -- > > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforg

Re: [Fish-users] Fish and /etc/profile ?

2016-11-02 Thread Kurtis Rader
ndard for shell syntax. The closest analog in fish is /etc/fish/config.fish (or wherever $__fish_sysconfdir points). And, of course, the equivalent of ~/.profile is ~/.config/fish/config.fish. -- Kurtis Rader Caretaker of the exceptional canines

Re: [Fish-users] Using Math

2016-10-22 Thread Kurtis Rader
gt; On 22/10/16 18:14, Kurtis Rader wrote: > > If you're using fish 2.3.0 or newer (e.g., git head) we already support > > this: e.g., math -s5 10 / 3 > > > > Well, when I try fish --version > > I get 2.3.1 > > When I try echo (math -s5 10/3) > > I

Re: [Fish-users] Using Math

2016-10-22 Thread Kurtis Rader
ink/slashdot >> ___ >> Fish-users mailing list >> Fish-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fish-users >> > > -- > > > > > -

Re: [Fish-users] issues after upgrading from 2.2.0 to 2.3.1 - alias & key mappings

2016-09-20 Thread Kurtis Rader
^ > in function “fisher” > called on standard input > with parameter list “ls” > > any ideas? > > https://dpaste.de/dEB8 is my full config.fish. > > A+ > Dave > > > > -------- > -- > __

Re: [Fish-users] Default fish shell coloring not appearing

2016-08-01 Thread Kurtis Rader
olor_selection --background=purple > fish_color_user green > fish_color_valid_path --underline > fish_greeting Welcome\ to\ fish,\ the\ friendly\ interactive\ shell\nType\ > \e\[32mhe… > fish_key_bindings fish_default_key_bindings > fish_pager_color_completion normal > fish_pager_color_descri

Re: [Fish-users] Default fish shell coloring not appearing

2016-08-01 Thread Kurtis Rader
white green)hello(set_color normal) Do you see the same green text on a white background on both systems? > On Aug 1, 2016, at 7:18 PM, Kurtis Rader <kra...@skepticism.us> wrote: > > What is $TERM $FISH_VERSION on each system? > > On Mon, Aug 1, 2016 at 3:10 PM, Pito Sala

Re: [Fish-users] Default fish shell coloring not appearing

2016-08-01 Thread Kurtis Rader
_ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ---

Re: [Fish-users] SELinux and Fish?

2016-07-31 Thread Kurtis Rader
it from source and is closed. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.

Re: [Fish-users] How to avoid printing $fish_greeting before the "read" command prompt

2016-07-23 Thread Kurtis Rader
ode. Please open an issue at https://github.com/fish-shell/fish-shell/issues/new P.S., I suspect no one has reported this because most fish users (certainly the core developers) inhibit that greeting via function fish_greeting; end or set -g fish_greeting ''

Re: [Fish-users] How to avoid printing $fish_greeting before the "read" command prompt

2016-07-23 Thread Kurtis Rader
ting is only shown when a new interactive shell is started just before the first prompt is displayed. Can you provide a script that would allow someone else to recreate the problem? Also, what does "echo $FISH_VERSION" output? if you're running a fish version older than 2.3.0 I'd want

Re: [Fish-users] accessing fish environment variables from C or other languages

2016-07-18 Thread Kurtis Rader
-modifying its own set of env vars. In C you would do that with the `putenv()` or `setenv()` functions. Note that your problem statement, as written, is not unique to the fish shell. The answer would be the same if you used bash or zsh. -- Kurtis Rader Ca

[Fish-users] do you use `history --delete`?

2016-07-15 Thread Kurtis Rader
if you use the `history --delete` command please read https://github.com/fish-shell/fish-shell/issues/3242 and comment on the proposal to remove the (broken) ability to delete individual entries. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [Fish-users] compare version strings

2016-07-08 Thread Kurtis Rader
s older than 2.3.0 (which don't have the string builtin) you'll need to do it the hard way: set -l fish_version for i in 1 2 3 set fish_version[$i] (echo 2.3.1 | cut -d . -f $i) end -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [Fish-users] About funced

2016-06-28 Thread Kurtis Rader
ur editor to stay in the foreground. For example, when using the Vim GUI via "vim -g" or "gvim" you also need the "-f" flag to keep it in the foreground. Also, as others have pointed out, you need to run "funcsave" if you want your edited function to b

Re: [Fish-users] echo -ne?

2016-06-27 Thread Kurtis Rader
ble syntax you're using is not. In fish you would traditionally do set -l base_pwd (basename $PWD) echo -ne "\033];$base_pwd\007" As of fish 2.3.0 you could also use the new "string" builtin. -- Kurtis

Re: [Fish-users] Newbie: overriding and using "built in functions" such as prompt_pwd and _fish_git_prompt

2016-06-27 Thread Kurtis Rader
h "command". Also, as of the 2.3.0 release you need to use the "--shadow-builtin" flag to indicate you know that you're overriding a builtin command. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank ---

  1   2   >