Skip to content

Commit

Permalink
zsh: use thefuck
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborpilz committed Apr 8, 2024
1 parent 4175239 commit 97384cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions home/config/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,6 @@ if [[ $TERM != dumb ]]; then
autoload -Uz compinit && compinit -u -d $ZSH_CACHE/zcompdump
source $ZDOTDIR/extra.zshrc
fi

# thefuck initialization
eval $(thefuck --alias)
3 changes: 2 additions & 1 deletion home/modules/shell/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ in
krew
nodejs
coreutils
thefuck

#Markdown View
glow
Expand All @@ -69,7 +70,7 @@ in
fpath=(${pkgs.zsh-completions}/share/zsh/site-functions $fpath)
# thefuck initialization
# eval $(thefuck --alias)
eval $(thefuck --alias)
'';

modules.shell.zsh.aliases = {
Expand Down

0 comments on commit 97384cf

Please sign in to comment.