mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-24 16:53:47 +01:00
merge upstream
This commit is contained in:
commit
8a8a7bafa0
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
locals.zsh
|
||||
log/.zsh_history
|
||||
projects.zsh
|
||||
custom/*.zsh
|
||||
!custom/example.zsh
|
@ -43,8 +43,13 @@ TODO: Update this..
|
||||
* much much more..
|
||||
|
||||
h2. Useful
|
||||
|
||||
the "refcard":http://www.bash2zsh.com/zsh_refcard/refcard.pdf is pretty tasty for tips.
|
||||
|
||||
h3. Customization
|
||||
|
||||
If you want to override any of the default behavior, just add a new file (ending in @.zsh@) into the @custom/@ directory.
|
||||
|
||||
h3. Uninstalling
|
||||
|
||||
If you want to uninstall it, just run @uninstall_oh_my_zsh@ from the command line and it'll remove itself and revert you to bash (or your previous zsh config).
|
||||
|
@ -1,8 +1,8 @@
|
||||
## Command history configuration
|
||||
#
|
||||
HISTFILE=$HOME/.zsh_history
|
||||
HISTSIZE=5000
|
||||
SAVEHIST=5000
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
setopt hist_ignore_dups # ignore duplication command history list
|
||||
setopt share_history # share command history data
|
||||
|
@ -17,7 +17,7 @@ _rake () {
|
||||
fi
|
||||
}
|
||||
|
||||
compdef _rake rake
|
||||
compctl -K _rake rake
|
||||
|
||||
function _cap_does_task_list_need_generating () {
|
||||
if [ ! -f .cap_tasks~ ]; then return 0;
|
||||
@ -39,4 +39,4 @@ function _cap () {
|
||||
fi
|
||||
}
|
||||
|
||||
compdef _cap cap
|
||||
compctl -K _cap cap
|
@ -2,4 +2,7 @@
|
||||
|
||||
# Load all of the config files in ~/oh-my-zsh that end in .zsh
|
||||
# TIP: Add files you don't want in git to .gitignore
|
||||
for config_file ($ZSH/*.zsh) source $config_file
|
||||
for config_file ($ZSH/lib/*.zsh) source $config_file
|
||||
|
||||
# Load all of your custom configurations from custom/
|
||||
for config_file ($ZSH/custom/*.zsh) source $config_file
|
||||
|
Loading…
Reference in New Issue
Block a user