aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/aliases.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh
index ba1793b..0546ce4 100644
--- a/zsh/aliases.zsh
+++ b/zsh/aliases.zsh
@@ -128,3 +128,9 @@ aur-pull() {
git pull aur@aur4.archlinux.org:/"$1".git master:"$1"
git checkout "$old_branch"
}
+
+tt() {
+ if [[ -n "$@" ]]; then
+ print "$@" | ts '[%Y-%m-%d %H:%M:%S]' >> "$HOME"/documents/timetracking
+ fi
+}