You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zsh/example_configs/zsh.conf

43 lines
1.6 KiB

# ZSH Configuration
BSD_MODE=false #Some options must be specified differently in BSD
SYNTAX_HIGHLIGHT=true #On-the-fly syntax highlighting of commands that you type
AUTO_CD=true #When true, if only a directory path is entered, you will cd to the directory
HISTORY_HIDE_SPACE=true #Does not record to history any command starting with a space (good for passing sensitive data like passwords on the command line)
HISTORY_NO_DUPS=true #Ignore duplicate back-to-back commands in shell history
# Prompt Style
PROMPT_STYLE=bsd2 #Valid options: bsd, bsd2, ar5
COMPLETION_STYLE=bash #ZSH "automenu" option toggle - Valid options: bash, zsh (defaults to bash)
CASE_SENSITIVE=true #Allows for tab-completion to auto-correct case sensitivity ('/vol' + <tab> becomes '/Volumes')
SHOW_NZ_EXIT=true #When true, prints non-zero exit codes into prompt (zero exit codes are not shown)
# Example prompts:
# bsd: user@host:~/storage/git[git-branch]%
# ar5: [21:32][user@host][~/storage/git][git-branch]%
#
# (bsd2 is the same as bsd, except has separate colours for user and host name and a neutral '@')
# Prompt Colours
COLOR_USER=cyan
COLOR_HOST=cyan
COLOR_PWD=green
COLOR_VCS=green
### Color Legend #
# # COLOR_USER: Primary prompt colour; user@host
# # COLOR_HOST: Optional prompt colour (if selected prompt supports it)
# # COLOR_PWD: Secondary prompt colour; ~/storage/photos
# # COLOR_VCS: Version Control System colour; [git-branch]
#
# Colour list (both the number and the colour name listed are valid):
# 0 black
# 1 red
# 2 green
# 3 yellow
# 4 blue
# 5 magenta
# 6 cyan
# 7 white
#