aboutsummaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshrc')
-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