Enable .local/share/applications
This commit is contained in:
parent
fb388da615
commit
3f7a93a949
|
@ -1,5 +1,19 @@
|
|||
[ -n "$BASH_VERSION" ] && [ -f $HOME/.bashrc ] && . $HOME/.bashrc
|
||||
|
||||
for x in \
|
||||
"$HOME/.local/share" \
|
||||
"/usr/share" \
|
||||
"/usr/local/share" \
|
||||
; do
|
||||
[ -d "$x" ] || continue
|
||||
case ":${XDG_DATA_DIRS}:" in
|
||||
*":${x}:"*) ;;
|
||||
*) XDG_DATA_DIRS="${XDG_DATA_DIRS:+$XDG_DATA_DIRS:}${x}" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
export XDG_DATA_DIRS
|
||||
|
||||
export XDG_CACHE_HOME=$HOME/.cache
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
export XDG_DATA_HOME=$HOME/.data
|
||||
|
|
Loading…
Reference in New Issue