Add zsh related dotfiles and update vimrc

This commit is contained in:
2023-08-05 14:52:11 -04:00
parent 7ace04139b
commit 8a9765e859
7 changed files with 254 additions and 22 deletions

12
cowley.zsh Normal file
View File

@@ -0,0 +1,12 @@
# Copy this file to "$HOME/.oh-my-zsh/custom/" to be usable.
# Helper method for showing python virtual env info in the prompt.
venv_prompt_info() {
if [[ -z "$VIRTUAL_ENV" ]]; then
return
fi
echo -e "${ZSH_THEME_VENV_PROMPT_PREFIX}$(basename $VIRTUAL_ENV)${ZSH_THEME_VENV_PROMPT_SUFFIX}"
}