From 14d2af5be5d3c7c7d04345399feed63480a0d1cf Mon Sep 17 00:00:00 2001 From: omagdy Date: Thu, 17 Jul 2025 19:15:29 +0300 Subject: Random tinkering --- zsh/.zshrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'zsh') 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 -- cgit v1.2.3