From e00934d0910471a4643971df25fe03b26d38b1ed Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 21 Jun 2022 11:43:43 +0800 Subject: Update --- alias | 2 +- mutt/muttrc | 4 ++-- tigrc | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/alias b/alias index 7eaded5..59c3206 100644 --- a/alias +++ b/alias @@ -76,7 +76,7 @@ alias ll='ls -lh' alias lla='ls -lha' llw() { which $1 | xargs ls -alh; } alias hg='history | grep' -rmrf() { mv $@ /tmp/; } +rmrf() { mv $@ /tmp/ 2>/dev/null || rm -rf $@; } alias rr='_move_to_tmp' alias sound="echo -ne '\a'" pst(){ pstree -ps ${1:-$$}; } diff --git a/mutt/muttrc b/mutt/muttrc index 6f9b820..fb3fd7e 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -48,7 +48,7 @@ bind index y edit-label bind index x tag-entry bind index t edit-label bind index,browser l select-entry -bind index \cl limit +bind index \\ limit bind index \cj next-entry bind index \ck previous-entry bind index,browser G last-entry @@ -75,7 +75,7 @@ macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's c macro index ":exec sync-mailbox\n" "Sync Mailbox" macro index *a "Tall\n" "Select All" macro index *n "\ctall\n" "Deselect All" -macro index h "\clall\n" "All messages" +macro index h "\\all\n" "All messages" macro index d '' 'Delete' # Sidebar diff --git a/tigrc b/tigrc index f21f7bf..1a8cec4 100644 --- a/tigrc +++ b/tigrc @@ -203,8 +203,6 @@ bind main I >sh -c "hub issue | tig" # Misc ## Statistics bind main gc >sh -c 'cloc --git %(commit) | tig' -## Script to bump Android version -bind main !sh -c 'scripts/bump_version.sh && scripts/whatsnew.sh' # note #bind generic gnn !git notes edit %(commit) -- cgit v1.2.3-70-g09d2