Skip to content
Permalink
Browse files

readline: fix inputrc default path

  • Loading branch information...
ryzhovau committed Mar 27, 2019
1 parent d92973d commit a870f92ea9068fdd4efd430ee728785040a9a682
Showing with 12 additions and 1 deletion.
  1. +1 −1 package/libs/readline/Makefile
  2. +11 −0 package/libs/readline/patches/500-inputrc_path.patch
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=readline
PKG_VERSION:=8.0
PKG_RELEASE:=1
PKG_RELEASE:=1a

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/readline
@@ -0,0 +1,11 @@
--- a/rlconf.h
+++ b/rlconf.h
@@ -43,7 +43,7 @@
#define DEFAULT_INPUTRC "~/.inputrc"

/* The ultimate last-ditch filename for an init file -- system-wide. */
-#define SYS_INPUTRC "/etc/inputrc"
+#define SYS_INPUTRC "/opt/etc/inputrc"

/* If defined, expand tabs to spaces. */
#define DISPLAY_TABS

0 comments on commit a870f92

Please sign in to comment.
You can’t perform that action at this time.