mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-04-02 16:16:22 +00:00
remove zsh
This commit is contained in:
parent
234f361ac3
commit
d0ec37d119
2 changed files with 0 additions and 20 deletions
|
@ -1 +0,0 @@
|
||||||
/Library/Developer/CommandLineTools/usr/share/git-core/git-completion.zsh
|
|
19
.zshrc
19
.zshrc
|
@ -1,19 +0,0 @@
|
||||||
. /Library/Developer/CommandLineTools/usr/share/git-core/git-prompt.sh
|
|
||||||
zstyle ':completion:*:*:git:*' script /Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash
|
|
||||||
fpath=(~/.zsh/functions $fpath)
|
|
||||||
autoload -Uz compinit && compinit
|
|
||||||
alias ..='cd ..'
|
|
||||||
alias cp='cp --reflink=auto'
|
|
||||||
alias diff='diff --color=auto'
|
|
||||||
alias grep='grep --color=auto'
|
|
||||||
alias ll='ls -alF'
|
|
||||||
alias ls='ls --color=auto'
|
|
||||||
precmd() {
|
|
||||||
[[ "$TERM" == xterm-256color ]] && print -Pn -- '\e]2;%n@%m %~\a'
|
|
||||||
[[ "$_PWD" == "$PWD" ]] && return
|
|
||||||
_PWD="$PWD"
|
|
||||||
ls
|
|
||||||
}
|
|
||||||
setopt PROMPT_SUBST
|
|
||||||
PROMPT='%B%F{green}%n@%m%f%b:%B%F{blue}%~%f%b $(__git_ps1 "%%F{green}(%s)%%f")
|
|
||||||
%# '
|
|
Loading…
Add table
Reference in a new issue