X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fthemes%2Fmlh.zsh-theme;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fthemes%2Fmlh.zsh-theme;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=baff3fb6331591d538929cecbc57a2f845805123;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/themes/mlh.zsh-theme b/stow/oh-my-zsh/.oh-my-zsh/themes/mlh.zsh-theme deleted file mode 100644 index baff3fb..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/themes/mlh.zsh-theme +++ /dev/null @@ -1,97 +0,0 @@ -# The Official Theme of Major League Hacking - -## ## ## ## ## -### ### ## ## ## -#### #### ## ## ## -## ### ## ## ######### -## ## ## ## ## -## ## ## ## ## -## ## ######## ## ## - -# # # # # # # # # # # # # # # # # # -# # # Feel free to customize! # # # -# # # # # # # # # # # # # # # # # # - -# To customize symbols (e.g MLH_AT_SYMBOL), simply set them as environment variables -# for example in your ~/.zshrc file, like this: -# MLH_AT_SYMBOL=" at " -# -# Settings *must* be set before sourcing oh-my-zsh.sh the .zshrc file. -# -# To easily discover colors and their codes, type `spectrum_ls` in the terminal - -# right prompt default settings -if [ -z "$MLH_PRINT_EXIT_CODE" ]; then - MLH_PRINT_EXIT_CODE=true -fi - -if [ -z "$MLH_PRINT_TIME" ]; then - MLH_PRINT_TIME=false -fi - -# left prompt symbols default settings - -if [ -z "$MLH_AT_SYMBOL" ]; then - MLH_AT_SYMBOL="@" -fi - -if [ -z "$MLH_IN_SYMBOL" ]; then - MLH_IN_SYMBOL=" in " -fi - -if [ -z "$MLH_ON_SYMBOL" ]; then - MLH_ON_SYMBOL=" on " -fi - -if [ -z "$MLH_SHELL_SYMBOL" ]; then - MLH_SHELL_SYMBOL="$ " -fi - -# colors -USER_COLOR="%F{001}" -DEVICE_COLOR="%F{033}" -DIR_COLOR="%F{220}" -BRANCH_COLOR="%F{001}" -TIME_COLOR="%F{033}" - -username() { - echo "$USER_COLOR%n%f" -} - -# Prints device name -device() { - echo "$DEVICE_COLOR%m%f" -} - -# Prints the current directory -directory() { - echo "$DIR_COLOR%1~%f" -} - -# Prints current time -current_time() { - if [ "$MLH_PRINT_TIME" = true ]; then - echo " $TIME_COLOR%*%f" - fi -} - -# Prints exit code of the last executed command -exit_code() { - if [ "$MLH_PRINT_EXIT_CODE" = true ]; then - echo "%(?..%F{001}exit %?)%f" - fi -} - -prompt_end() { - printf "\n$MLH_SHELL_SYMBOL" -} - -# Set git_prompt_info text -ZSH_THEME_GIT_PROMPT_PREFIX="${MLH_ON_SYMBOL}${BRANCH_COLOR}" -ZSH_THEME_GIT_PROMPT_SUFFIX="%f" -ZSH_THEME_GIT_PROMPT_DIRTY="" -ZSH_THEME_GIT_PROMPT_CLEAN="" - -# %B and %b make the text bold -PROMPT='%b$(username)$MLH_AT_SYMBOL$(device)$MLH_IN_SYMBOL$(directory)$(git_prompt_info)%b$(prompt_end)' -RPROMPT="$(exit_code)$(current_time)"