Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
577d8a9a
Commit
577d8a9a
authored
Jun 13, 2012
by
Robby Russell
Browse files
Merge pull request #1155 from s3dev/s3dev
Change hardcoded ~/.oh-my-zsh to $ZSH.
parents
c6698684
1bb71596
Changes
2
Show whitespace changes
Inline
Side-by-side
lib/completion.zsh
View file @
577d8a9a
...
...
@@ -46,7 +46,7 @@ zstyle ':completion:*:hosts' hosts $hosts
# Use caching so that commands like apt and dpkg complete are useable
zstyle
':completion::complete:*'
use-cache 1
zstyle
':completion::complete:*'
cache-path
~/.oh-my-zsh
/cache/
zstyle
':completion::complete:*'
cache-path
$ZSH
/cache/
# Don't complete uninteresting users
zstyle
':completion:*:*:*:users'
ignored-patterns
\
...
...
plugins/dirpersist/dirpersist.plugin.zsh
View file @
577d8a9a
...
...
@@ -12,7 +12,7 @@ dirpersistinstall () {
if
grep
'dirpersiststore'
~/.zlogout
>
/dev/null
;
then
else
if
read
-q
\?
"Would you like to set up your .zlogout file for use with dirspersist? (y/n) "
;
then
echo
"# Store dirs stack
\n
# See
~/.oh-my-zsh
/plugins/dirspersist.plugin.zsh
\n
dirpersiststore"
>>
~/.zlogout
echo
"# Store dirs stack
\n
# See
$ZSH
/plugins/dirspersist.plugin.zsh
\n
dirpersiststore"
>>
~/.zlogout
else
echo
"If you don't want this message to appear, remove dirspersist from
\$
plugins"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment