AutoYADM commit: 2025-06-13 14:22:37

This commit is contained in:
Daniel Fichtinger 2025-06-13 14:22:37 -04:00
parent 30d07da785
commit df8b63a78f
2 changed files with 12 additions and 5 deletions

View file

@ -63,7 +63,7 @@ proc_sorting = "memory"
proc_reversed = False
#* Show processes as a tree.
proc_tree = False
proc_tree = True
#* Use the cpu graph colors in the process list.
proc_colors = True

View file

@ -1,6 +1,13 @@
# http://editorconfig.org/#file-format-details
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
# Patch by Daniel <daniel@ficd.ca>:
# Support editorconfig for scratch buffers.
# If we're in a scratch buffer, we check the filetype,
# create a temp file with the appropriate extension, and pass
# it to editorconfig. If there's no .editorconfig in /tmp,
# we copy the one from $HOME. We clean up the files after.
# Detection
# ‾‾‾‾‾‾‾‾‾
@ -90,10 +97,10 @@ define-command editorconfig-load -params ..1 -docstring "editorconfig-load [file
}
' ;;
esac
# if [ -n "$scratch" ]; then
# rm "/tmp/.editorconfig"
# rm "$file"
# fi
if [ -n "$scratch" ]; then
rm "/tmp/.editorconfig"
rm "$file"
fi
}
}
complete-command editorconfig-load file