Truncate to repo.
This commit is contained in:
parent
770444649a
commit
7399975870
2 changed files with 15 additions and 5 deletions
15
zsh/zshrc
15
zsh/zshrc
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue