mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
spacing changes to make bash file more readable
This commit is contained in:
parent
2aaf4df41d
commit
bb11b56662
1 changed files with 13 additions and 13 deletions
|
|
@ -1,19 +1,19 @@
|
||||||
# Aliases
|
# Aliases
|
||||||
alias edit="sublime ~/.zshrc"
|
alias edit="sublime ~/.zshrc"
|
||||||
alias showFiles="defaults write com.apple.finder AppleShowAllFiles YES; killall Finder"
|
alias showFiles="defaults write com.apple.finder AppleShowAllFiles YES; killall Finder"
|
||||||
alias hideFiles="defaults write com.apple.finder AppleShowAllFiles NO; killall Finder"
|
alias hideFiles="defaults write com.apple.finder AppleShowAllFiles NO; killall Finder"
|
||||||
alias compC="g++ -std=c++11"
|
alias compC="g++ -std=c++11"
|
||||||
alias aOut="./a.out"
|
alias aOut="./a.out"
|
||||||
alias server="python -m SimpleHTTPServer"
|
alias server="python -m SimpleHTTPServer"
|
||||||
alias theme="sublime ~/.oh-my-zsh/themes/master.zsh-theme"
|
alias theme="sublime ~/.oh-my-zsh/themes/master.zsh-theme"
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
|
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
|
||||||
PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
|
PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
|
||||||
|
|
||||||
# Macros
|
# Macros
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
|
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
|
||||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue