fish: Disable Ctrl-d from closing the terminal

Mapping Ctrl-d in kitty was not the solution for this as we originally
thought.

See https://github.com/fish-shell/fish-shell/issues/5593 for an
explanation of the issue.
This commit is contained in:
Sanchayan Maity 2021-11-18 11:28:33 +05:30
parent f993461dec
commit b4acbc3d98

View file

@ -2,6 +2,9 @@ set PATH {$HOME}/.nix-profile/bin {$HOME}/.cargo/bin {$HOME}/.cabal/bin {$HOME}/
set -gx TERM xterm-kitty set -gx TERM xterm-kitty
set -gx NIX_PATH {$HOME}/.nix-defexpr/channels set -gx NIX_PATH {$HOME}/.nix-defexpr/channels
# https://github.com/fish-shell/fish-shell/issues/5593
bind \cd true
export MANPAGER='nvim +Man!' export MANPAGER='nvim +Man!'
export NIX_SSL_CERT_FILE='/etc/ssl/certs/ca-certificates.crt' export NIX_SSL_CERT_FILE='/etc/ssl/certs/ca-certificates.crt'