all repos — nixfiles @ 0da4483535d85d3676587f235f77d90bfbed0d33

System and user configuration, managed by nix and home-manager

fish: use Zed as editor if inside a Zed terminal

Alan Pearce
commit

0da4483535d85d3676587f235f77d90bfbed0d33

parent

b9fa1b56c6996e70e5ac25cae0eb2e50fa6dd8f3

1 file changed, 4 insertions(+), 0 deletions(-)

changed files
M user/settings/fish.nixuser/settings/fish.nix
@@ -44,6 +44,10 @@ set --global hydro_color_start FF00FF
set --global hydro_color_error D70000 set --global hydro_color_prompt 5FAF00 set --global hydro_color_duration 87875F + + if set --query ZED_TERM + set -x EDITOR "zed -w" + end ''; shellAliases = { hist-freq-lines = lib.mkForce "history | sort | uniq -c | sort -gr | head -n100 | less";