From 66ff8a7b9ad44f948a4ed3ba8dd95848363ed43a Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 7 Jun 2023 20:17:15 +0100 Subject: More aliases --- bashrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bashrc b/bashrc index 9ae045c..82e3509 100644 --- a/bashrc +++ b/bashrc @@ -147,23 +147,25 @@ alias ttagged="task tags.any: list" alias tuntagged="task tags.none: list" alias ttoday="task ml_due_or_scheduled_today" alias tl="/home/lemon/Documents/Notes/todo/todo.sh list" -alias t="/home/lemon/Documents/Notes/todo/todo.sh" +alias t="todoist-cli" alias khal="$HOME/src/virtualenvs/khal-venv/bin/khal" alias vdirsyncer="$HOME/src/virtualenvs/khal-venv/bin/vdirsyncer" alias khard="$HOME/src/virtualenvs/khal-venv/bin/khard" +alias thisweek='khal list today 5days -d google_timebox' +alias tcomptoday='task end.after:today-1d completed' alias passwrap='pass-fzf.bash' # Environment variables export LEDGER_FILE="$HOME/Budget/ledger/hledger/budget.ledger" #export TERM="screen-256color" arch wiki says not to set this here. export LESS="-iMRS -x2" -export NOTES_DIR="$HOME/Documents/Notes/" +export NOTES_DIR="~/Documents/Notes" export RANGER_LOAD_DEFAULT_RC="FALSE" export FZF_DEFAULT_COMMAND="rg --files --hidden --glob '!.git' " #export FZF_DEFAULT_COMMAND='ag -l --path-to-ignore ~/.ignore --nocolor --hidden -g ""' export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" export FZF_ALT_C_COMMAND="$FZF_DEFAULT_COMMAND" -export FZF_DEFAULT_OPTS="--color info:108,prompt:109,spinner:108,pointer:168,marker:168" +export FZF_DEFAULT_OPTS="--preview='bat --color=always {}' --bind shift-up:preview-page-up,shift-down:preview-page-down --color info:108,prompt:109,spinner:108,pointer:168,marker:168" # fzf source /usr/share/doc/fzf/examples/key-bindings.bash -- cgit v1.2.3