📝 Added rlast/dlast alias, remove last line of file

This commit is contained in:
z3rOR0ne 2022-07-07 11:53:21 -07:00
parent 8d3cc1cb99
commit 9252514bbc

View file

@ -190,6 +190,7 @@ alias sudoku="sku"
#Particularly useful commands more to remember than to use as alias:
alias optimalbufsize= 'stat -c "%o"' # followed by filename will give you the optimal read/write BUFSIZE for a file
alias {rcrm,rrm}="doas xargs -d\\n rm -r -v" # when piped after locate or find command, recursively removes outputted files
alias {rlast,dlast}="sed -i '$ d'" # removes last line of file
alias athena="athena-jot"
alias view-in-tty="fim"
alias snarfsnarf="snarf"