mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
Add xdg
plugin
This commit is contained in:
parent
0e1ae7e176
commit
0fc0b2d09e
@ -27,4 +27,5 @@
|
||||
* __sublime__ - creates 'subl' command line shortcut to launch [Sublime Text editor](http://sublimetext.com/)
|
||||
* __tmux__ - Plugin to start tmux with support for 256 colours
|
||||
* __vi-mode__ - Basic vi key bindings emulation for fish
|
||||
* __xdg__ - Setup [xdg](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) environment on Linux
|
||||
* __z__ - integration with [z](https://github.com/rupa/z) (autojump alternative)
|
||||
|
14
plugins/xdg/xdg.load
Normal file
14
plugins/xdg/xdg.load
Normal file
@ -0,0 +1,14 @@
|
||||
# System
|
||||
set -x XDG_DATA_DIRS /usr/share /usr/local/share
|
||||
set -x XDG_CONFIG_DIRS /etc/xdg
|
||||
|
||||
# User
|
||||
set -x XDG_CACHE_HOME $HOME/.cache
|
||||
set -x XDG_CONFIG_HOME $HOME/.config
|
||||
set -x XDG_DATA_HOME $HOME/.local/share
|
||||
set -x XDG_DESKTOP_DIR $HOME/Desktop
|
||||
set -x XDG_DOWNLOAD_DIR $HOME/Downloads
|
||||
set -x XDG_DOCUMENTS_DIR $HOME/Documents
|
||||
set -x XDG_MUSIC_DIR $HOME/Music
|
||||
set -x XDG_PICTURES_DIR $HOME/Pictures
|
||||
set -x XDG_VIDEOS_DIR $HOME/Videos
|
Loading…
Reference in New Issue
Block a user