mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-27 10:49:55 +08:00
Merge pull request #233 from iven/xdg
This commit is contained in:
commit
f3dcaa3806
|
@ -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