From fb5043ffe50a8b53d6f07657224b147019b02e92 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 19 Oct 2019 18:01:35 +0100 Subject: Minor changes --- bin/.local/bin/mutt_attach | 2 +- bin/.local/bin/references | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/.local') diff --git a/bin/.local/bin/mutt_attach b/bin/.local/bin/mutt_attach index 4a14dbc..44a759f 100755 --- a/bin/.local/bin/mutt_attach +++ b/bin/.local/bin/mutt_attach @@ -3,7 +3,7 @@ # File in which to store the list of filenames to attach tmp=$(mktemp) -vifm "$HOME" --choose-files "$tmp" +vifm "$HOME" -c "set nohlsearch" --choose-files "$tmp" # ranger "$HOME" --choosefiles="$tmp" while IFS="" read -r file; do diff --git a/bin/.local/bin/references b/bin/.local/bin/references index 46ff41e..4501904 100755 --- a/bin/.local/bin/references +++ b/bin/.local/bin/references @@ -1,5 +1,5 @@ #!/bin/bash -REF_DIR="$HOME/phd/references" +REF_DIR="$HOME/postdoc/references" PDF=$(find $REF_DIR -regex ".*.\(pdf\|djvu\|PDF\|ps\)" -printf "%C@ %P\n" | sort | tac | cut -d' ' -f2-) TARGET=$(echo "${PDF//"$REF_DIR/"/}" | dmenu -i -p "Open File") [[ -n $TARGET ]] && exec zathura "$REF_DIR/$TARGET" -- cgit v1.2.3