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:
parent
2095d3cb00
commit
ab987f7bee
3 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:${PATH}"
|
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:${PATH}"
|
||||||
export LANG='en_US.UTF-8'
|
export LANG='en_US.UTF-8'
|
||||||
|
export PAGER='less -RF'
|
||||||
|
|
||||||
for editor in nvim vim nano; do
|
for editor in nvim vim nano; do
|
||||||
if command -v "$editor" &> /dev/null; then
|
if command -v "$editor" &> /dev/null; then
|
||||||
|
|
|
@ -29,8 +29,8 @@ setopt \
|
||||||
HIST_VERIFY \
|
HIST_VERIFY \
|
||||||
INTERACTIVE_COMMENTS \
|
INTERACTIVE_COMMENTS \
|
||||||
LONG_LIST_JOBS \
|
LONG_LIST_JOBS \
|
||||||
NOMATCH \
|
|
||||||
NOTIFY \
|
NOTIFY \
|
||||||
|
NULL_GLOB \
|
||||||
PROMPT_SUBST \
|
PROMPT_SUBST \
|
||||||
PUSHD_IGNORE_DUPS \
|
PUSHD_IGNORE_DUPS \
|
||||||
PUSHD_MINUS \
|
PUSHD_MINUS \
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
2>/dev/null for FZF_FILE in /usr/share/doc/fzf/examples/*.zsh; do
|
2>/dev/null for FZF_FILE in /usr/share/doc/fzf/examples/*.zsh; do
|
||||||
source "$FZF_FILE"
|
source "$FZF_FILE"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
2>/dev/null for FZF_FILE in /usr/share/fzf/shell/*.zsh; do
|
||||||
|
source "$FZF_FILE"
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue