Update FZF sourcing to work with Fedora. Update zshenv to set a less pager and update zshrc to have bad globs not have exits

This commit is contained in:
Tony Blyler 2022-04-27 23:17:40 -04:00
parent 2095d3cb00
commit ab987f7bee
Signed by: tblyler
GPG key ID: 7F13D9A60C0D678E
3 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,6 @@
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:${PATH}"
export LANG='en_US.UTF-8'
export PAGER='less -RF'
for editor in nvim vim nano; do
if command -v "$editor" &> /dev/null; then

View file

@ -29,8 +29,8 @@ setopt \
HIST_VERIFY \
INTERACTIVE_COMMENTS \
LONG_LIST_JOBS \
NOMATCH \
NOTIFY \
NULL_GLOB \
PROMPT_SUBST \
PUSHD_IGNORE_DUPS \
PUSHD_MINUS \

View file

@ -1,3 +1,7 @@
2>/dev/null for FZF_FILE in /usr/share/doc/fzf/examples/*.zsh; do
source "$FZF_FILE"
done
2>/dev/null for FZF_FILE in /usr/share/fzf/shell/*.zsh; do
source "$FZF_FILE"
done