Fix fish settings and better telescope for nvim

This commit is contained in:
Barak Michener 2022-05-11 16:14:54 -07:00
parent 96685eb902
commit d2a7a8263c
5 changed files with 50 additions and 29 deletions

19
.zshrc
View file

@ -56,23 +56,6 @@ for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE; do
done
PR_NO_COLOUR="%{$terminfo[sgr0]%}"
###
# Decide whether to set a screen title
# if [[ "$TERM" == "screen" ]]; then
# PR_STITLE=$'%{\ekzsh\e\\%}'
# else
# PR_STITLE=''
# fi
# preexec () {
# local CMD="${1/#sudo /#}"
# local CMD="${CMD/#nano /}"
# local CMD="${CMD/#ssh />}"
# $SCREENME true || echo -ne "\ek${CMD%% *}\e\\"
# }
#precmd () {
#$SCREENME true || echo -ne "\ekzsh\e\\"
#}
case `uname` in
Darwin)
PR_HOST_COLOR=$PR_CYAN
@ -181,6 +164,8 @@ if [ -f '/home/barak/local/google-cloud-sdk/path.zsh.inc' ]; then source '/home/
# The next line enables shell command completion for gcloud.
if [ -f '/home/barak/local/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/barak/local/google-cloud-sdk/completion.zsh.inc'; fi
if [ -f '/usr/local/lib/bazel/bin/_bazel' ]; then source '/usr/local/lib/bazel/bin/_bazel'; fi
# This enables autocomplete for kubectl
if [ $commands[kubectl] ]; then
source <(kubectl completion zsh)