1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 13:58:00 +00:00

[WIP] DO NOT USE

This commit is contained in:
Sorin Ionescu 2014-02-02 20:37:56 -05:00
parent 2ebdbdcff5
commit fb13aa3327
6 changed files with 7 additions and 6 deletions

View File

@ -73,7 +73,7 @@ while (( $# > 0 )); do
esac esac
(( success = $success > 0 ? $success : $? )) (( success = $success > 0 ? $success : $? ))
(( $success == 0 )) && (( $remove_archive == 0 )) && rm "$1" (( $success == 0 && $remove_archive == 0 )) && rm "$1"
shift shift
done done

View File

@ -123,8 +123,10 @@ zstyle ':completion:*:*:kill:*' force-list always
zstyle ':completion:*:*:kill:*' insert-ids single zstyle ':completion:*:*:kill:*' insert-ids single
# Man # Man
zstyle ':completion:*:manuals' separate-sections true # zstyle ':completion:*:manuals' separate-sections true
zstyle ':completion:*:manuals.(^1*)' insert-sections true # zstyle ':completion:*:manuals.(^1*)' insert-sections true
zstyle ':completion:*:manuals.*' insert-sections true
zstyle ':completion:*:man:*' menu yes select
# Media Players # Media Players
zstyle ':completion:*:*:mpg123:*' file-patterns '*.(mp3|MP3):mp3\ files *(-/):directories' zstyle ':completion:*:*:mpg123:*' file-patterns '*.(mp3|MP3):mp3\ files *(-/):directories'

0
modules/go/init.zsh Normal file
View File

View File

@ -12,7 +12,7 @@ function is-autoloadable {
# Checks if a name is a command, function, or alias. # Checks if a name is a command, function, or alias.
function is-callable { function is-callable {
(( $+commands[$1] )) || (( $+functions[$1] )) || (( $+aliases[$1] )) (( $+commands[$1] || $+functions[$1] || $+aliases[$1] ))
} }
# Checks a boolean variable for "true". # Checks a boolean variable for "true".

View File

@ -22,4 +22,3 @@ alias brews='brew search'
alias brewu='brew upgrade' alias brewu='brew upgrade'
alias brewU='brew update && brew upgrade' alias brewU='brew update && brew upgrade'
alias brewx='brew remove' alias brewx='brew remove'

View File

@ -57,7 +57,7 @@ FG[none]="$FX[none]"
BG[none]="$FX[none]" BG[none]="$FX[none]"
colors=(black red green yellow blue magenta cyan white) colors=(black red green yellow blue magenta cyan white)
for color in {0..255}; do for color in {0..255}; do
if (( $color >= 0 )) && (( $color < $#colors )); then if (( $color >= 0 && $color < $#colors )); then
index=$(( $color + 1 )) index=$(( $color + 1 ))
FG[$colors[$index]]="\e[38;5;${color}m" FG[$colors[$index]]="\e[38;5;${color}m"
BG[$colors[$index]]="\e[48;5;${color}m" BG[$colors[$index]]="\e[48;5;${color}m"