浏览代码

list no extra space if empty

tags/v3.1
Luke Smith 5 年前
父节点
当前提交
f9bc254abd
找不到此签名对应的密钥 GPG 密钥 ID: 4C50B54A911F6252
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw 查看文件

@@ -13,7 +13,7 @@ mwconfig="$muttdir/mutt-wizard.muttrc"
muttrc="$muttdir/muttrc"

getaccounts() { accounts="$(find "$accdir" -type f | grep -o "[0-9]-.*.muttrc" | sed "s/-/: /g;s/\..*//" | sort -n)" ;}
list() { getaccounts && echo "$accounts" ;}
list() { getaccounts && [ -n "$accounts" ] && echo "$accounts" ;}

getprofiles() { \
unset msmtp_header msmtp_profile mutt_profile mbsync_profile


正在加载...
取消
保存