From ee7df6df54d2233a6066b2d7e5cf18002dd6788e Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Sun, 15 Jan 2023 00:49:40 +0200 Subject: Added some blurring to terminal windows + cleaned up some stuff in rc.lua and add a fuzzy finder function to quickly cd into directories --- zsh/.zshrc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index 2080475..fe551b6 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -187,6 +187,23 @@ ex () fi } +fcd() { + local dir + dir=$(find ~ -type d | fzf) + if [[ -n $dir ]]; then + cd "$dir" + fi +} + +fo() { + local dir + dir=$(find /run/media/peng/Storage/omar -type d | fzf) + if [[ -n $dir ]]; then + cd "$dir" + fi + +} + #create a file called .zshrc-personal and put all your personal aliases -- cgit v1.2.3