diff --git a/nushell/config.nu b/nushell/config.nu index fe9192f..56fe97f 100644 --- a/nushell/config.nu +++ b/nushell/config.nu @@ -129,6 +129,13 @@ def df [] { | rename "Sys. de fichiers" "Taille" "Utilisé" "Dispo" "Uti%" "Monté sur" } +# easy markdown formamtter +def to-md [] { + let arg = $in + $env.config.table.mode = markdown; + echo $arg +} + # vim aliases alias v = nvim