mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Use --global when re-exporting XDG_DATA_DIRS
This commit is contained in:
parent
a1eb341817
commit
f48a430493
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
function _ksi_main
|
||||
test -z "$KITTY_SHELL_INTEGRATION" && return
|
||||
if set -q KITTY_FISH_XDG_DATA_DIRS
|
||||
set --export XDG_DATA_DIRS "$KITTY_FISH_XDG_DATA_DIRS"
|
||||
set --global --export XDG_DATA_DIRS "$KITTY_FISH_XDG_DATA_DIRS"
|
||||
else
|
||||
set --erase XDG_DATA_DIRS
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue