summaryrefslogtreecommitdiffstats
path: root/src/verb/builtin.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-10-18 21:52:33 +0200
committerCanop <cano.petrole@gmail.com>2020-10-18 21:52:33 +0200
commit71c1323cf29c9e11438177ad26c4533fb4ebb609 (patch)
tree46ddec9d42544a45f92f9f598d31adb687856d77 /src/verb/builtin.rs
parent6e2f61c7eb57707f98a1b0ef5bd7b36d3ced7df3 (diff)
:root_fs shows size/available infos of current filesystem on top
Diffstat (limited to 'src/verb/builtin.rs')
-rw-r--r--src/verb/builtin.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/verb/builtin.rs b/src/verb/builtin.rs
index 926b19c..ab0e53f 100644
--- a/src/verb/builtin.rs
+++ b/src/verb/builtin.rs
@@ -99,7 +99,7 @@ pub fn builtin_verbs() -> Vec<Verb> {
StayInBroot,
)
.with_shortcut("cpp"),
- #[cfg(target_os="linux")]
+ #[cfg(unix)]
internal(filesystems)
.with_shortcut("fs"),
// :focus is also hardcoded on Enter on directories
@@ -178,6 +178,7 @@ pub fn builtin_verbs() -> Vec<Verb> {
internal(toggle_git_ignore).with_shortcut("gi"),
internal(toggle_git_file_info).with_shortcut("gf"),
internal(toggle_git_status).with_shortcut("gs"),
+ internal(toggle_root_fs).with_shortcut("rfs"),
internal(toggle_hidden).with_shortcut("h"),
#[cfg(unix)]
internal(toggle_perm).with_shortcut("perm"),