From a0a8c184f0755926c50f11587740703204f143ae Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 18 May 2022 11:48:43 +0800 Subject: Update --- alias | 2 +- misc/openbox/rc.xml | 2 +- tools/wiki/diary | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/alias b/alias index 227a2d7..d5d4536 100644 --- a/alias +++ b/alias @@ -72,7 +72,7 @@ alias ll='ls -lh' alias lla='ls -lha' llw() { which $1 | xargs ls -alh; } alias hg='history | grep' -rmrf() { mv $1 /tmp/; } +rmrf() { mv $@ /tmp/; } alias rr='_move_to_tmp' alias sound="echo -ne '\a'" pst(){ pstree -ps ${1:-$$}; } diff --git a/misc/openbox/rc.xml b/misc/openbox/rc.xml index 64081d2..0e9d624 100644 --- a/misc/openbox/rc.xml +++ b/misc/openbox/rc.xml @@ -496,7 +496,7 @@ - thunar + thunar ~/Downloads diff --git a/tools/wiki/diary b/tools/wiki/diary index 84d4eca..b30e906 100755 --- a/tools/wiki/diary +++ b/tools/wiki/diary @@ -22,6 +22,7 @@ specify_date() { } print_today() { + [[ ! -e $today ]] && touch $today cat $today } -- cgit v1.2.3-70-g09d2