mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
new colorizations
This commit is contained in:
parent
1368ad5d93
commit
8db7f85fc1
3 changed files with 56 additions and 3 deletions
33
zshrc
33
zshrc
|
|
@ -1,5 +1,10 @@
|
|||
# ezzsh - zshrc
|
||||
|
||||
|
||||
module_path=($module_path /usr/local/lib/zpython)
|
||||
zmodload zsh/zpython
|
||||
|
||||
|
||||
# path to your zsh configuration.
|
||||
ZSH="$HOME/.zsh"
|
||||
|
||||
|
|
@ -229,3 +234,31 @@ function compile () {
|
|||
for file in "$@"; do gcc -o "${file%.}" "$file"; done
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
autoload -U colors zsh-mime-setup select-word-style
|
||||
|
||||
colors
|
||||
|
||||
zsh-mime-setup
|
||||
|
||||
select-word-style bash
|
||||
autoload -U colors zsh-mime-setup select-word-style
|
||||
|
||||
setopt PROMPT_SUBST
|
||||
color="blue"
|
||||
if [ "$USER" = "root" ]; then
|
||||
color="red"
|
||||
fi;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue