fix #98
This commit is contained in:
parent
753119227a
commit
0401f4d2cb
1 changed files with 3 additions and 1 deletions
4
pfetch
4
pfetch
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue