[F] Fix editor version stuck on macOS using the pico editor
https://github.com/dylanaraps/neofetch/pull/2271
This commit is contained in:
parent
65d82be06e
commit
01821a8d7a
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2293,7 +2293,7 @@ get_editor() {
|
|||
editor="${editor/$editor_name }"
|
||||
;;
|
||||
*)
|
||||
editor+=$("$editor_full_path" --version 2>&1)
|
||||
# editor+=$("$editor_full_path" --version 2>&1)
|
||||
editor="${editor/$'\n'*}"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue