Skip to content

Commit 7726196

Browse files
committed
fixup! refactor: adapt and simplify filetypes.sh
1 parent 97f34ab commit 7726196

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/filetypes.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
# Iterate over the elements of icons_by_file_extension and check if there are missed filetypes.
44
# $VIMRUNTIME specifies neovim runtime path, defaults to "/usr/share/nvim/runtime" if unset.
55

6-
if [ -z "${VIMRUNTIME}" ]; then
7-
export VIMRUNTIME="/usr/share/nvim/runtime"
8-
fi
6+
: "${VIMRUNTIME:=/usr/share/nvim/runtime}"
97

108
exit_value=0
119

0 commit comments

Comments
 (0)