aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authoromagdy <omar.professional8777@gmail.com>2025-07-17 19:15:29 +0300
committeromagdy <omar.professional8777@gmail.com>2025-07-17 19:15:29 +0300
commit14d2af5be5d3c7c7d04345399feed63480a0d1cf (patch)
tree49dc1b82ce1d45003f40e0da947c767f9c1e6790 /zsh
parent52d21d68621c9d3dd2a8a6d4bb50acca31e99ee4 (diff)
downloaddotfiles-14d2af5be5d3c7c7d04345399feed63480a0d1cf.tar.xz
dotfiles-14d2af5be5d3c7c7d04345399feed63480a0d1cf.zip
Random tinkering
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 7e84c2e..f00234e 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,3 +1,5 @@
+# Add deno completions to search path
+if [[ ":$FPATH:" != *":/home/omar/.zsh/completions:"* ]]; then export FPATH="/home/omar/.zsh/completions:$FPATH"; fi
### Added by Zinit's installer
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then
print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f"
@@ -39,6 +41,7 @@ export MANPAGER='nvim +Man!'
# export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# Pager
+# export PAGER='nvim +Man!'
export PAGER='less'
# start zoxide
@@ -180,9 +183,9 @@ function y() {
# Interactive cd
-fcd() {
+function fcd() {
local dir
- dir=$(find ~ -type d | fzf)
+ dir=$(fd --full-path ~/programming/ --type directory | fzf)
if [[ -n $dir ]]; then
cd "$dir"
fi
@@ -200,3 +203,4 @@ esac
# Bind ctrl-r but not up arrow
eval "$(atuin init zsh --disable-up-arrow)"
+. "/home/omar/.deno/env" \ No newline at end of file