Skip to content

Commit

Permalink
fix: fzf behaving weird since this change
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Hofer committed Dec 17, 2024
1 parent e61ee87 commit c2e1cb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hosts/shared/home-manager/shell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@
done
}
cat() {
catf() {
if [ $# -eq 0 ]; then
/bin/cat "$(fzf)"
cat "$(fzf)"
else
/bin/cat "$@"
cat "$@"
fi
}
Expand Down

0 comments on commit c2e1cb6

Please sign in to comment.