Truncate to repo.

This commit is contained in:
Bartek Stalewski 2020-01-27 11:42:06 +01:00
parent 770444649a
commit 7399975870
2 changed files with 15 additions and 5 deletions

View file

@ -1,6 +1,3 @@
HISTSIZE=10000
SAVEHIST=$HISTSIZE
HISTFILE=~/.zsh_history
autoload -U compinit && compinit
autoload -U promptinit && promptinit
@ -19,4 +16,16 @@ source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
#function zsh_directory_name() {
# emulate -L zsh
# [[ $1 == d ]] || return
# while [[ $2 != / ]]; do
# if [[ -e $2/.git ]]; then
# typeset -ga reply=(${2:t} $#2)
# return
# fi
# 2=${2:h}
# done
# return 1
#}
[ -e ~/.zshrc.local ] && source ~/.zshrc.local