adjusted headings

pull/7/head
Aaron Johnson 6 years ago
parent 9d5d97d28e
commit f40d17e2a5

@ -33,15 +33,15 @@ zsh
## Customization ## Customization
Other than the `zsh.conf` options, you can perform any sort of customization you want easily by placing the configuration in the `custom` file. The `custom` file is loaded last, and so will overwrite anything set up by the default shell configuration here. You can also source other outside files from the `custom` files as well. If you don't care for any of the pre-defined prompts provided, just set up a new on in `custom`! Other than the `zsh.conf` options, you can perform any sort of customization you want easily by placing the configuration in the `custom` file. The `custom` file is loaded last, and so will overwrite anything set up by the default shell configuration here. You can also source other outside files from the `custom` files as well. If you don't care for any of the pre-defined prompts provided, just set up a new on in `custom`!
## Notable Features ## Notable Features
### HISTORY_HIDE_SPACE #### HISTORY_HIDE_SPACE
This option will let any command starting with an empty space character be omitted from `.zsh_history`. This is very useful for things such as running commands that contain passwords, for instance. This option will let any command starting with an empty space character be omitted from `.zsh_history`. This is very useful for things such as running commands that contain passwords, for instance.
### AUTO_CD #### AUTO_CD
If you just name a path, the shell will assume you intended to change directories. If you just name a path, the shell will assume you intended to change directories.
``` ```
ajohnson@helios:~ % git/zsh ajohnson@helios:~ % git/zsh
ajohnson@helios:~/git/zsh [add_readme]% ajohnson@helios:~/git/zsh [add_readme]%
``` ```
### `cd` Search and Replace #### cd Search and Replace
You can substitute one word for another in your current working directory by using the cd syntax: You can substitute one word for another in your current working directory by using the cd syntax:
``` ```
cd [old_word] [new_word] cd [old_word] [new_word]
@ -52,7 +52,7 @@ ajohnson@atlas:/opt/j2ee/domains/skyfall.tech/wiki/current/logs % cd wiki jira
/opt/j2ee/domains/skyfall.tech/jira/current/logs /opt/j2ee/domains/skyfall.tech/jira/current/logs
ajohnson@atlas:/opt/j2ee/domains/skyfall.tech/jira/current/logs % ajohnson@atlas:/opt/j2ee/domains/skyfall.tech/jira/current/logs %
``` ```
### Display Current VCS Branch in Prompt #### Display Current VCS Branch in Prompt
This feature is my favourite one on the list. It works with Git and Subversion at least, though I have never tested it with Mercurial. This feature is my favourite one on the list. It works with Git and Subversion at least, though I have never tested it with Mercurial.
In this example, I start out in the 'rewrite' branch and switch to 'dev'. In this example, I start out in the 'rewrite' branch and switch to 'dev'.
``` ```

Loading…
Cancel
Save