From 5a3b8d3a16a059c4715bd68f6561eed5f0eff808 Mon Sep 17 00:00:00 2001 From: jan Date: Thu, 2 Sep 2021 23:58:24 +0200 Subject: [PATCH] Added shorter aliases --- .zsh-integration | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zsh-integration b/.zsh-integration index 025e3d6..aa37263 100644 --- a/.zsh-integration +++ b/.zsh-integration @@ -18,7 +18,6 @@ alias nnote_gitadd="(cd $nnote_dir/ && git add $nnote_local_file && git commit - alias ttodo_gitadd="(cd $nnote_dir/ && git add $ttodo_local_file && git commit -m \"update by $HOST\" && git push --quiet -u --no-progress)" alias nnote_pull="(cd $nnote_dir && git pull)" - # Print current todos into fresh spawned shell if [[ ! -z $(grep '[^[:space:]]' $(printf "$nnote_dir" "$@")/$HOST/todo.md) ]]; then echo '==============| Local ToDos |==============' @@ -30,3 +29,8 @@ fi # external alias alias nnote="nano $nnote_local_file && nnote_gitadd" alias ttodo="nano $ttodo_local_file && ttodo_gitadd" + +## shorts +alias nn="nnote" +alias tt="ttodo" +alias nnu="nnote_pull"