faho on master
complete: Print better error fo… completions/git: Print all know… (compare)
complete- why not to create smth like this for functions? I mean to control where some function is accessible. For example to hide function from everywhere but not current directory. It will be more accurate than setting local attribute to functions and allow create smth like namespace but in a Fish way.🤔
hi fish people! i'm trying to make a permanent switch to fish-shell but i need your help in configuring away a nitpick:
to complete an 'autofill' it seems that i need to press right-arrow. ctrl-r and <tab> work too but not with a single keystroke.
how can i configure fish-shell to use, for example, ctrl-p or maybe ctrl-; to use fish's first autofill suggestion?
bind \cg accept-autosuggestionfor ctrl-g
@krobelus thank you so much! on second glance it's in the tutorial here https://fishshell.com/docs/current/tutorial.html#autosuggestions.
For my own education, though, what do you mean by "readline for 'right-arrow'"? A quick Google only got me here -- https://unix.stackexchange.com/a/364532/128049 -- but it's not super clear to me.
fish stackoverflows when i have
alias foo=ls alias ls=foo
and enter one of
--style=. Options and such. It still offers files for the most part, because they decided not to disable them.
bash-3.2$ alias hostname=uname bash-3.2$ alias uname=hostname bash-3.2$ uname Darwin bash-3.2$ hostname M1.local
realpath -e (command -v $SOMECOMMAND)so I'd like to create an abbreviation that expands to
realpath -e (command -v )where the cursor is just before the closing paren. or can I create a function but still get
$PATH-based autocomplete like with
lsin bash with this:
LS_COLORS="di=1;31"in fish would it be
set -Ux LS_COLORS "di=1;31"?
termsince vterm works fine with all the fancy terminal stuff. but the vi cursor works fine in emacs vterm, even though
INSIDE_EMACS, which is set to
vtermin vterm. this should cause it to exit, yet the vi cursor works fine somehow?