diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-11 10:52:02 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-11 10:52:02 +0200 |
| commit | 0c10b7ea7998969c43794e16f7dfec4357d5bb84 (patch) | |
| tree | dd54aa4428f3745a39e86cdfc0bd1599a07f59c3 | |
| parent | 4e0fc600e79668c500552a83e68094a4083c89ac (diff) | |
| download | dotfiles-0c10b7ea7998969c43794e16f7dfec4357d5bb84.tar.gz dotfiles-0c10b7ea7998969c43794e16f7dfec4357d5bb84.zip | |
add nvim as editor and change to fd in zathura script
| -rw-r--r-- | bash/.bashrc | 1 | ||||
| -rwxr-xr-x | bin/zathura-fzf | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index 36a983f..49550ac 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -1,6 +1,7 @@ # Export own script path export PATH=$HOME/.dotfiles/bin/:/usr/local/bin/:$PATH export GOPATH=$HOME/.go +export EDITOR='nvim' export MANPAGER='nvim +Man!' # Aliases diff --git a/bin/zathura-fzf b/bin/zathura-fzf index b9c2724..502477e 100755 --- a/bin/zathura-fzf +++ b/bin/zathura-fzf @@ -1,6 +1,7 @@ #!/bin/sh -find "$@" -type f -iname '*pdf' > ~/.pdffiles.txt +# find "$@" -type f -iname '*pdf' > ~/.pdffiles.txt +fd --type f --extension pdf . $@ > ~/.pdffiles.txt cat ~/.pdffiles.txt | rofi -dmenu > ~/.zathurafile.txt |