bash: show current directory on top in alacritty

This commit is contained in:
teutat3s 2023-06-20 23:35:15 +02:00
parent 7dbe853f3a
commit c9c874ab00
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -18,8 +18,8 @@ in {
# Run when initializing an interactive shell # Run when initializing an interactive shell
initExtra = '' initExtra = ''
# Use fzf's CTRL-R history widget # Show current directory at the top in Alacritty
source ${pkgs.fzf}/share/fzf/key-bindings.bash PROMPT_COMMAND='echo -e -n "\e]2;$(basename "$PWD")\e\\"'
# If a command is not found, show me where it is # If a command is not found, show me where it is
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh