mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Importing initial files after reorganizing stuff.
This commit is contained in:
parent
e20401e04e
commit
5da20b9ddd
12 changed files with 259 additions and 0 deletions
29
prompt.zsh
Normal file
29
prompt.zsh
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
bindkey -e
|
||||
|
||||
# Directory stuff.
|
||||
setopt AUTO_NAME_DIRS
|
||||
|
||||
# Speed stuff.
|
||||
|
||||
#setopt NO_BEEP
|
||||
setopt AUTO_CD
|
||||
setopt MULTIOS
|
||||
setopt CDABLEVARS
|
||||
|
||||
bindkey -e
|
||||
|
||||
if [[ x$WINDOW != x ]]
|
||||
then
|
||||
SCREEN_NO="%B$WINDOW%b "
|
||||
else
|
||||
SCREEN_NO=""
|
||||
fi
|
||||
|
||||
PS1="%n@%m:%~%# "
|
||||
|
||||
# Setup the prompt with pretty colors
|
||||
setopt prompt_subst
|
||||
|
||||
export LSCOLORS="Gxfxcxdxbxegedabagacad"
|
||||
|
||||
PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue