Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support XDG base directory specification #2384

Closed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--_echo=hello
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--_echo=world
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--_force-quit=7
12 changes: 12 additions & 0 deletions Tmain/load-conf-files-under-default-xdg-config-home/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright: 2017 Masatake YAMATO
Copy link
Member

@masatake masatake Dec 24, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't write this script.

# License: GPL-2

CTAGS=$1

. ../utils.sh

exit_if_win32 "$CTAGS"

export HOME=./myhome
export XDG_CONFIG_HOME=
${CTAGS}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ctags: Notice: hello
ctags: Notice: world
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--_echo=hello
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--_echo=world
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--_force-quit=7
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7
11 changes: 11 additions & 0 deletions Tmain/load-conf-files-under-xdg-config-home/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright: 2017 Masatake YAMATO
# License: GPL-2

CTAGS=$1

. ../utils.sh

exit_if_win32 "$CTAGS"

export XDG_CONFIG_HOME=./.config
${CTAGS}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ctags: Notice: hello
ctags: Notice: world
Empty file.