-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
-
Star 32.9k < 8000 /div>
Closed
Labels
Milestone
Description
Currently, the characters that separate path components as used by backward-path-component are hard-coded:
Lines 1264 to 1266 in 05ac1b7
| fn is_path_component_character(c: char) -> bool { | |
| tok_is_string_character(c, None) && !L!("/={,}'\":@").as_char_slice().contains(&c) | |
| } |
It'd be nice if that could be customized.
Specifically, I would like to add # as a path component separator, because on NixOS with flakes # is used as a separator between the flake and the selected package from the flake. e.g. nix profile install nixpkgs#fish
$ fish --version
fish, version 3.7.0
$ echo $version
3.7.0
$ echo $TERM
alacritty
$ uname -a
Linux laptop 6.1.70-xanmod1 #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan 1 00:00:00 UTC 1980 x86_64 GNU/LinuxReactions are currently unavailable