This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function theme_precmd { | |
local TERMWIDTH=$(( COLUMNS - ${ZLE_RPROMPT_INDENT:-1} )) | |
PR_FILLBAR="" | |
PR_PWDLEN="" | |
PR_VIRTUALENV="" | |
local promptsize=${#${(%):-(%n@%m:%l)-()-}} | |
local rubypromptsize=${#${(%)$(ruby_prompt_info)}} | |
local timepromtsize=${#${(%):-%D{%H:%M:%S}-()-}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install pip install cryptography, path issue with openssl/aes.h will occur. The reason is Apple deprecated openssl and the compiler can't find the one installed by homebrew. | |
# So the following line will help. | |
env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.staic-bg { | |
background: url("../images/stats.jpg"); | |
background-repeat: no-repeat; | |
background-attachment: fixed; | |
background-position: center; | |
} |