Skip to content

Commit 5de3b20

Browse files
committed
feat(zshrc): ✨ add Finder shortcut
1 parent 03e3cd1 commit 5de3b20

2 files changed

Lines changed: 9 additions & 14 deletions

File tree

ssh.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

zsh/.zshrc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export PATH
2020
# Environment variables
2121
export LANG=en_US.UTF-8
2222
export EDITOR="nvim"
23+
export MANPAGER="nvim +Man!"
2324
export VISUAL="$EDITOR"
2425
export GOPATH="$HOME/go"
2526
export KUBECONFIG="$HOME/.kube/config"
@@ -252,7 +253,7 @@ devops() {
252253
fi
253254
}
254255

255-
256+
# Sesh session management
256257
function ss() {
257258
{
258259
exec </dev/tty
@@ -276,6 +277,13 @@ cap() {
276277
cat "$@" | pbcopy
277278
}
278279

280+
# Finder function: open current directory in Finder
281+
finder() {
282+
open .
283+
}
284+
zle -N finder
285+
bindkey '^f' finder
286+
279287
# Navigation functions
280288
cx() { cd "$@" && l; }
281289
fcd() { cd "$(find . -type d -not -path '*/.*' | fzf)" && l; }

0 commit comments

Comments
 (0)