From 88427286e7fdf2a369ed698126ef31dd0c3bb791 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sun, 10 Mar 2024 10:16:59 -0700 Subject: [PATCH] setup thefuck --- home/dot_bash_profile | 3 +++ provision/modules/system/terminal.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/home/dot_bash_profile b/home/dot_bash_profile index 43b15f5d..1efe9a77 100644 --- a/home/dot_bash_profile +++ b/home/dot_bash_profile @@ -16,6 +16,9 @@ shopt -s histappend; # Autocorrect typos in path names when using `cd` shopt -s cdspell; +# Setup thefuck +eval "$(thefuck --alias)" + # Enable some Bash 4 features when possible: # * `autocd`, e.g. `**/qux` will enter `./foo/bar/baz/qux` # * Recursive globbing, e.g. `echo **/*.txt` diff --git a/provision/modules/system/terminal.nix b/provision/modules/system/terminal.nix index 490d2e67..a3f8a829 100644 --- a/provision/modules/system/terminal.nix +++ b/provision/modules/system/terminal.nix @@ -25,6 +25,7 @@ in { bash-completion tmux tmuxp + thefuck nnn # for nnn