我正在阅读https://www.freedesktop.org/software/systemd/man/systemd.service.html[Install]
如果服务自动启动需要部分,则找不到信息。
主页
/
user-47022
anatoly techtonik's questions
anatoly techtonik
Asked:
2018-11-25 12:44:23 +0800 CST
在全新ranger
安装时,我尝试打开neofetch
配置ranger
并选择ed
查看它是什么。我很高兴Ctrl+D努力退出ed
,但现在ranger
用它打开所有文件。重新启动终端不起作用。~/.config/ranger
是空的:
$ ls -la .config/ranger/
total 12
drwxr-xr-x 2 techtonik techtonik 4096 ліс 24 23:32 .
drwx------ 24 techtonik techtonik 4096 ліс 24 22:19 ..
-rw-r--r-- 1 techtonik techtonik 35 ліс 24 23:32 bookmarks
-rw-r--r-- 1 techtonik techtonik 0 ліс 24 23:32 history
-rw-r--r-- 1 techtonik techtonik 0 ліс 7 14:03 tagged
如何解决?
UPD :$EDITOR
为空,rifle
仍在运行ed
.
$ rifle -l ~/.config/neofetch/config.conf
0:editor::$EDITOR -- "$@"
1:pager::"$PAGER" -- "$@"
$ echo $EDITOR
$ rifle ~/.config/neofetch/config.conf
13949
UPD2:Ubuntu 18.10
UPD3:我没有看到ed
操作系统选择了它
$ update-alternatives --display editor
editor - auto mode
link best version is /bin/nano
link currently points to /bin/nano
link editor is /usr/bin/editor
slave editor.1.gz is /usr/share/man/man1/editor.1.gz
slave editor.fr.1.gz is /usr/share/man/fr/man1/editor.1.gz
slave editor.it.1.gz is /usr/share/man/it/man1/editor.1.gz
slave editor.ja.1.gz is /usr/share/man/ja/man1/editor.1.gz
slave editor.pl.1.gz is /usr/share/man/pl/man1/editor.1.gz
slave editor.ru.1.gz is /usr/share/man/ru/man1/editor.1.gz
/bin/ed - priority -100
slave editor.1.gz: /usr/share/man/man1/ed.1.gz
/bin/nano - priority 40
slave editor.1.gz: /usr/share/man/man1/nano.1.gz
/usr/bin/vim.basic - priority 30
slave editor.1.gz: /usr/share/man/man1/vim.1.gz
slave editor.fr.1.gz: /usr/share/man/fr/man1/vim.1.gz
slave editor.it.1.gz: /usr/share/man/it/man1/vim.1.gz
slave editor.ja.1.gz: /usr/share/man/ja/man1/vim.1.gz
slave editor.pl.1.gz: /usr/share/man/pl/man1/vim.1.gz
slave editor.ru.1.gz: /usr/share/man/ru/man1/vim.1.gz
/usr/bin/vim.tiny - priority 15
slave editor.1.gz: /usr/share/man/man1/vim.1.gz
slave editor.fr.1.gz: /usr/share/man/fr/man1/vim.1.gz
slave editor.it.1.gz: /usr/share/man/it/man1/vim.1.gz
slave editor.ja.1.gz: /usr/share/man/ja/man1/vim.1.gz
slave editor.pl.1.gz: /usr/share/man/pl/man1/vim.1.gz
slave editor.ru.1.gz: /usr/share/man/ru/man1/vim.1.gz