Added some aliases for taskwarrior contexts

This commit is contained in:
Alex Kelly 2019-05-08 11:12:28 -04:00
parent c512a473ea
commit 1f09661c25
2 changed files with 23 additions and 3 deletions

View file

@ -153,6 +153,8 @@ let g:dbgPavimOnce = 1
let python_highlight_all=1 let python_highlight_all=1
syntax on syntax on
let g:pymode_python = 'python3'
" For table mode RST friendliness " For table mode RST friendliness
let g:table_mode_corner_corner='+' let g:table_mode_corner_corner='+'
let g:table_mode_header_fillchar='=' let g:table_mode_header_fillchar='='

View file

@ -60,10 +60,28 @@ source $ZSH/oh-my-zsh.sh
source ~/dotfiles/zsh/zsh-git-prompt/zshrc.sh source ~/dotfiles/zsh/zsh-git-prompt/zshrc.sh
RPS1='$(git_super_status)' RPS1='$(git_super_status)'
source ~/.autoenv/activate.sh #source ~/.autoenv/activate.sh
# changing over to direnv from autoenv
eval "$(direnv hook zsh)"
# Add PS1 for python virtualenv in direnv
show_virtual_env() {
if [[ -n "$VIRTUAL_ENV" && -n "$DIRENV_DIR" ]]; then
echo "($(basename $VIRTUAL_ENV))"
fi
}
PS1='$(show_virtual_env)'$PS1
#--------- End of direnv block ------------------------------------------------
unsetopt histverify unsetopt histverify
alias in='task add +in' alias in='task add +in'
alias rtask="task rc:/home/kellya/.taskrc_tinslin" alias rtask="task rc:/home/kellya/.taskrc_tinslin"
alias atwork="task context work"
alias athome="task context home"
alias atschool="task context school"
alias atnone="task context none;"
#eval "$(ntfy shell-integration)" #eval "$(ntfy shell-integration)"
source /usr/share/gems/gems/tmuxinator-0.6.11/completion/tmuxinator.zsh source /usr/share/gems/gems/tmuxinator-0.6.11/completion/tmuxinator.zsh
source ~/.private_aliases source ~/.private_aliases