add show in file manager zsh function
This commit is contained in:
parent
9cc5b234ac
commit
f0b597aa61
1 changed files with 10 additions and 2 deletions
|
|
@ -112,8 +112,16 @@ in
|
|||
echo "$target"
|
||||
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
|
||||
function proj() {
|
||||
local project_json="$HOME/.config/nix/config/projects.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue