summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--bash/.bashrc1
-rwxr-xr-xbin/zathura-fzf3
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