Set default name insteaed of untitled

This commit is contained in:
Austen Adler 2016-05-26 18:58:40 -04:00
parent 121b39e854
commit 728aa8f7fa

View File

@ -178,7 +178,7 @@ mv() { /bin/mv -v "$@" }
m() { mv "$@" } m() { mv "$@" }
compdef _cp c cfat m mv cp compdef _cp c cfat m mv cp
paste() { paste() {
NAME="" NAME="-d title=Command run at $(date '+%d/%h/%y %H:%M:%S')"
if [[ ! -z "$1" ]]; then if [[ ! -z "$1" ]]; then
NAME="-d title=$1" NAME="-d title=$1"
fi fi