diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-04-27 21:25:03 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-04-27 21:25:03 +1200 |
commit | 1287cf7167393a17497ae1aa33ac7c7bb47a3964 (patch) | |
tree | 1bfae27d76dfe60f13287b353be39fb37d09518c /vim | |
parent | Refine browser selection logic (diff) | |
download | dotfiles-1287cf7167393a17497ae1aa33ac7c7bb47a3964.tar.gz dotfiles-1287cf7167393a17497ae1aa33ac7c7bb47a3964.zip |
Switch .xinitrc to .xsession
This is Debian-specific, but that's the only system with which I'm
presently using X11 anyway.
From Debian's startx(1):
> Note that in the Debian system, what many people traditionally put in
> the .xinitrc file should go in .xsession instead; this permits the
> same X environment to be presented whether startx, xdm, or xinit is
> used to start the X session. All discussion of the .xinitrc file in
> the xinit(1) manual page applies equally well to .xsession. Keep in
> mind that .xinitrc is used only by xinit(1) and completely ignored by
> xdm(1).
Indeed, everything just seems to work a bit better, probably because
problems are more likely to be able to find the user instance of dbus.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/filetype.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim index 91cc1ec5..c461e503 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -363,12 +363,16 @@ augroup filetypedetect \,.shinit \,.shrc \,.xinitrc + \,.xsession + \,.xsessionrc \,/etc/default/* \,configure \,profile \,shinit \,shrc - \,xinitrc + \,/etc/X11/xinit + \,/etc/X11/Xreset + \,/etc/X11/Xsession \ let b:is_posix = 1 \|setfiletype sh " SQL |