diff --git a/modules/directory/init.zsh b/modules/directory/init.zsh index e63f8858..cc9a5231 100644 --- a/modules/directory/init.zsh +++ b/modules/directory/init.zsh @@ -28,7 +28,7 @@ unsetopt CLOBBER # Do not overwrite existing files with > and >>. # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all directory; then - return 1 + return 0 fi alias d='dirs -v' diff --git a/modules/dpkg/init.zsh b/modules/dpkg/init.zsh index fa8de27f..83a61aa1 100644 --- a/modules/dpkg/init.zsh +++ b/modules/dpkg/init.zsh @@ -18,7 +18,7 @@ fi # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all dpkg; then - return 1 + return 0 fi # Cleans the cache. diff --git a/modules/fasd/init.zsh b/modules/fasd/init.zsh index 58beaf44..ce188db6 100644 --- a/modules/fasd/init.zsh +++ b/modules/fasd/init.zsh @@ -51,7 +51,7 @@ function fasd_cd { # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all fasd; then - return 1 + return 0 fi # Changes the current working directory interactively. diff --git a/modules/git/alias.zsh b/modules/git/alias.zsh index 6bd6de5f..d08d9d9e 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -28,7 +28,7 @@ zstyle -s ':prezto:module:git:status:ignore' submodules '_git_status_ignore_subm # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all git; then - return 1 + return 0 fi # Git diff --git a/modules/history/init.zsh b/modules/history/init.zsh index 012c7408..1e3fb464 100644 --- a/modules/history/init.zsh +++ b/modules/history/init.zsh @@ -37,7 +37,7 @@ setopt HIST_BEEP # Beep when accessing non-existent history. # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all history; then - return 1 + return 0 fi # Lists the ten most used commands. diff --git a/modules/macports/init.zsh b/modules/macports/init.zsh index 58e01b5b..f3f58790 100644 --- a/modules/macports/init.zsh +++ b/modules/macports/init.zsh @@ -39,7 +39,7 @@ path=( # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all macports; then - return 1 + return 0 fi alias portc='sudo port clean --all installed' diff --git a/modules/osx/init.zsh b/modules/osx/init.zsh index 69b002e9..9415bf84 100644 --- a/modules/osx/init.zsh +++ b/modules/osx/init.zsh @@ -33,7 +33,7 @@ function rm-osx-cruft { # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all osx; then - return 1 + return 0 fi # Change directory to the current Finder directory. diff --git a/modules/pacman/init.zsh b/modules/pacman/init.zsh index 5a720ee8..c3881705 100644 --- a/modules/pacman/init.zsh +++ b/modules/pacman/init.zsh @@ -20,7 +20,7 @@ fi # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all pacman; then - return 1 + return 0 fi # Get the Pacman frontend. diff --git a/modules/perl/init.zsh b/modules/perl/init.zsh index 5c7a0df8..294394f8 100644 --- a/modules/perl/init.zsh +++ b/modules/perl/init.zsh @@ -45,7 +45,7 @@ fi # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all perl; then - return 1 + return 0 fi # General diff --git a/modules/python/init.zsh b/modules/python/init.zsh index b3d63b80..0c6c2191 100644 --- a/modules/python/init.zsh +++ b/modules/python/init.zsh @@ -44,7 +44,7 @@ fi # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all python; then - return 1 + return 0 fi alias py='python' diff --git a/modules/rails/init.zsh b/modules/rails/init.zsh index 71e7fb4a..4fa07baa 100644 --- a/modules/rails/init.zsh +++ b/modules/rails/init.zsh @@ -18,7 +18,7 @@ fi # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all rails; then - return 1 + return 0 fi alias ror='rails' diff --git a/modules/rsync/init.zsh b/modules/rsync/init.zsh index 4e07e9e7..1985f895 100644 --- a/modules/rsync/init.zsh +++ b/modules/rsync/init.zsh @@ -16,7 +16,7 @@ fi # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all rsync; then - return 1 + return 0 fi _rsync_cmd='rsync --verbose --progress --human-readable --compress --archive --hard-links --one-file-system' diff --git a/modules/ruby/init.zsh b/modules/ruby/init.zsh index 566f179d..b4e696b9 100644 --- a/modules/ruby/init.zsh +++ b/modules/ruby/init.zsh @@ -42,7 +42,7 @@ fi # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all ruby; then - return 1 + return 0 fi # General diff --git a/modules/screen/init.zsh b/modules/screen/init.zsh index 00588ff9..aa1c6fc9 100644 --- a/modules/screen/init.zsh +++ b/modules/screen/init.zsh @@ -34,7 +34,7 @@ fi # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all screen; then - return 1 + return 0 fi alias scr='screen' diff --git a/modules/tmux/init.zsh b/modules/tmux/init.zsh index 14d48b19..5319d995 100644 --- a/modules/tmux/init.zsh +++ b/modules/tmux/init.zsh @@ -42,7 +42,7 @@ fi # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all tmux; then - return 1 + return 0 fi alias tmuxa='tmux attach-session' diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index 2d043e1a..6ffd05f1 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -58,7 +58,7 @@ function psu { # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all utility; then - return 1 + return 0 fi # Disable correction. diff --git a/modules/yum/init.zsh b/modules/yum/init.zsh index 80e40dc4..efa053ce 100644 --- a/modules/yum/init.zsh +++ b/modules/yum/init.zsh @@ -17,7 +17,7 @@ fi # Return if conditions are unsatistied if ! zstyle -t ':prezto:alias' pmodule all yum; then - return 1 + return 0 fi alias yumc='sudo yum clean all' # Cleans the cache.