Browse Source

Added shorter aliases

main
Jan Jastrow 9 months ago
parent
commit
5a3b8d3a16
  1. 6
      .zsh-integration

6
.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"

Loading…
Cancel
Save