add show in file manager zsh function

This commit is contained in:
Yan Lin 2025-11-18 19:27:29 +01:00
parent 9cc5b234ac
commit f0b597aa61

View file

@ -113,6 +113,14 @@ in
fi fi
} }
# Function to show current directory in file manager
function fm() {
local current_dir="$(pwd)"
${if pkgs.stdenv.isDarwin then
"open -R \"$current_dir\""
else
"thunar \"$current_dir\" &"}
}
# Interactive project launcher with fzf # Interactive project launcher with fzf
function proj() { function proj() {