diff options
author | hut <hut@lavabit.com> | 2010-10-05 21:30:15 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-10-05 21:30:15 +0200 |
commit | 258a2668e6cdd34351979b8da17c6e66a738996e (patch) | |
tree | cd3406c2198daced1f12cb11c4091fa1ed99dd4c /doc/ranger.1 | |
parent | dc7ee19fc15eee33c948d0ccd6c06df9682c0bf3 (diff) | |
parent | d3bcb234bf5776da7d9b66e73107e906342eeb7d (diff) | |
download | ranger-258a2668e6cdd34351979b8da17c6e66a738996e.tar.gz |
Merge branch 'stable' into preview
Conflicts: ranger/shared/settings.py
Diffstat (limited to 'doc/ranger.1')
-rw-r--r-- | doc/ranger.1 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1 index dd343f28..03cc3d56 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -1,4 +1,4 @@ -.TH RANGER 1 ranger-1.1.1 +.TH RANGER 1 ranger-1.2.1 .SH NAME ranger - visual file manager .\"----------------------------------------- @@ -38,7 +38,8 @@ Return the exit code 1 if ranger is used to run a file, for example with `ranger --fail-unless-cd filename`. This can be useful for scripts. .TP -r \fIdir\fR, --confdir=\fIdir\fR -Define a different configuration directory. The default is $HOME/.ranger. +Define a different configuration directory. The default is +$XDG_CONFIG_HOME/ranger (which defaults to ~/.config/ranger) .TP -m \fIn\fR, --mode=\fIn\fR When a filename is supplied, make it run in mode \fIn\fR. Check the @@ -177,17 +178,17 @@ of your parent shell after exiting ranger: ranger() { command ranger --fail-unless-cd $@ && - cd "$(grep \\^\\' ~/.ranger/bookmarks | cut -b3-)" + cd "$(grep \\^\\' ~/.config/ranger/bookmarks | cut -b3-)" } .\"----------------------------------------- .SH CONFIGURATION The files in .B ranger/defaults/ can be copied into your configuration directory (by default, this is -$HOME/.ranger) and customized according to your wishes. +~/.config/ranger) and customized according to your wishes. Most files don't have to be copied completely though: Just define those settings you want to add or change and they will override the defauls. -Colorschemes can be placed in $HOME/.ranger/colorschemes. +Colorschemes can be placed in ~/.config/ranger/colorschemes. .P All configuration is done in Python. Each configuration file should contain sufficient documentation. |