changed name of scope.sh
This commit is contained in:
parent
c77a046f15
commit
4157ee0d32
10
config/ranger/scope.sh → config/ranger/preview.sh
Normal file → Executable file
10
config/ranger/scope.sh → config/ranger/preview.sh
Normal file → Executable file
@ -3,14 +3,6 @@
|
||||
set -o noclobber -o noglob -o nounset -o pipefail
|
||||
IFS=$'\n'
|
||||
|
||||
# If the option `use_preview_script` is set to `true`,
|
||||
# then this script will be called and its output will be displayed in ranger.
|
||||
# ANSI color codes are supported.
|
||||
# STDIN is disabled, so interactive scripts won't work properly
|
||||
|
||||
# This script is considered a configuration file and must be updated manually.
|
||||
# It will be left untouched if you upgrade ranger.
|
||||
|
||||
# Meanings of exit codes:
|
||||
# code | meaning | action of ranger
|
||||
# -----+------------+-------------------------------------------
|
||||
@ -176,4 +168,4 @@ handle_extension
|
||||
handle_mime "${MIMETYPE}"
|
||||
handle_fallback
|
||||
|
||||
exit 1
|
||||
exit 1
|
@ -1,4 +1,4 @@
|
||||
set preview_script ~/.config/ranger/scope.sh
|
||||
set preview_script ~/.config/ranger/preview.sh
|
||||
|
||||
# Use the external preview script or display simple plain text or image previews?
|
||||
set use_preview_script true
|
||||
@ -236,4 +236,4 @@ set nested_ranger_warning true
|
||||
# Examples:
|
||||
# setlocal path=~/downloads sort mtime
|
||||
|
||||
default_linemode devicons
|
||||
default_linemode devicons
|
||||
|
Loading…
x
Reference in New Issue
Block a user