From 49ad4d1badb636b265ac8f46beaa47c5fafa790e Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Sun, 26 May 2024 23:09:24 +0200 Subject: [PATCH] Add pwdf alias which combines workind directory with fzf --- home/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/.zshrc b/home/.zshrc index 5117076..cdc2fc0 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -94,6 +94,10 @@ vif() { nvim "$(fzf)" } +pwdf() { + echo "$(pwd)"/"$(fzf)" +} + # wl-copy and wl-paste doesn't exist on mac, and mac has pbcopy and pbpaste if [[ "$(uname)" != "Darwin" ]]; then alias wlc="wl-copy"