aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-01-15 00:49:40 +0200
committeromagdy7 <omar.professional8777@gmail.com>2023-01-15 00:49:40 +0200
commitee7df6df54d2233a6066b2d7e5cf18002dd6788e (patch)
tree6f141068e209162674190515bd34bfbb79ab30b5 /zsh
parent1b3a35e0792004a68df017fb50eba08f253860ae (diff)
downloaddotfiles-ee7df6df54d2233a6066b2d7e5cf18002dd6788e.tar.xz
dotfiles-ee7df6df54d2233a6066b2d7e5cf18002dd6788e.zip
Added some blurring to terminal windows + cleaned up some stuff in rc.lua and add a fuzzy finder function to quickly cd into directories
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc17
1 files changed, 17 insertions, 0 deletions
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