1
0
Fork 0

small fixes

This commit is contained in:
Luca Bilke 2023-11-24 16:57:21 +01:00
parent 02ecfe54d1
commit 9c21d09fb8
2 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# vim:set ft=zsh
# vim: set ft=sh:
source $ZDOTDIR/configs/vars
source $ZDOTDIR/configs/widgets
source $ZDOTDIR/configs/setup
@ -8,7 +8,8 @@ source $ZDOTDIR/configs/aliases
source $ZDOTDIR/plugins/fzf/bindings.zsh
source $ZDOTDIR/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
source /usr/bin/virtualenvwrapper_lazy.sh
[ -r /usr/bin/virtualenvwrapper_lazy.sh ] && source /usr/bin/virtualenvwrapper_lazy.sh || \
source /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh
for f in $ZDOTDIR/configs/autogenerated/*; do
source $f

View file

@ -1,4 +1,4 @@
# vim: set ft=sh
# vim: set ft=sh:
venv_prompt() {
[[ -n ${VIRTUAL_ENV} ]] || return
echo -e "%F{yellow}%f ${VIRTUAL_ENV:t:gs/%/%%}"
@ -55,4 +55,4 @@ function lg () {
[ -d "$(pwd)/.git" ] && lazygit -p "$(pwd)"
zle reset-prompt
}
zle -N lg{,}
zle -N lg