diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2021-09-03 04:29:38 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2021-09-03 04:29:38 +0300 |
| commit | 0401f4d2cbc3fb11541840722af51b329622b594 (patch) | |
| tree | 44f5f300ca297b20d1d167e87af829359ff16e23 | |
| parent | 753119227a3f3db2bdb0a3d94d4530d051e41753 (diff) | |
| download | pfetch-0401f4d2cbc3fb11541840722af51b329622b594.tar.gz | |
fix #98
| -rwxr-xr-x | pfetch | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1036,7 +1036,9 @@ get_shell() { get_editor() { # Display the value of '$VISUAL', if it's empty, display the # value of '$EDITOR'. - log editor "${VISUAL:-$EDITOR}" >&6 + editor=${VISUAL:-"$EDITOR"} + + log editor "${editor##*/}" >&6 } get_palette() { |
