We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8313cb commit 531fd6dCopy full SHA for 531fd6d
2 files changed
.oh-my-shell/oh-my-shellrc
@@ -67,6 +67,7 @@ dot_plugin_if_exists "cron"
67
dot_plugin_if_exists "date"
68
dot_plugin_if_exists "development"
69
dot_plugin_if_exists "debugging_shell_scripts"
70
+dot_plugin_if_exists "disk"
71
dot_plugin_if_exists "diff"
72
dot_plugin_if_exists "docker"
73
dot_plugin_if_exists "download"
.oh-my-shell/shellrc/plugins/disk/aliases.sh
@@ -0,0 +1,8 @@
1
+if command_exists 'dua'; then
2
+ # Disk usage analyzer
3
+ # Usage: tdisk_usage_analyzer ~/
4
+ alias tdisk_usage_analyzer='dua i '
5
+elif command_exists 'ncdu'; then
6
+ alias tdisk_usage_analyzer='ncdu '
7
+fi
8
+
0 commit comments