fix: reeable trash-cli and thefuck

This commit is contained in:
Jiří Štefka 2024-03-20 16:33:07 +01:00
parent f4be2573ff
commit 4aeb185e44
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

18
zsh.nix

@ -1,10 +1,10 @@
{ config, pkgs, lib, ... }:
{
# programs.thefuck = {
# enable = true;
# enableZshIntegration = true;
# };
#
programs.thefuck = {
enable = true;
enableZshIntegration = true;
};
programs.direnv = {
enable = true;
enableZshIntegration = true; # see note on other shells below
@ -49,8 +49,7 @@
# source ~/.p10k-tty.zsh
# fi
# eval $(thefuck --alias)
eval $(thefuck --alias)
# Basic auto/tab complete:
autoload -U compinit
@ -147,8 +146,7 @@
unexport="unset";
# Use trash instead of rm if available
# rm="trash";
rm="trash";
cp="cp -i";
mv="mv -i";
@ -173,7 +171,7 @@
tldr
lsd
eza
# trash-cli
trash-cli
fzf # enhancd
fd # enhancd
# rofi # for fd