zakaziko99 / agnosterzak-ohmyzsh-theme Goto Github PK
View Code? Open in Web Editor NEWAn oh-my-zsh theme based on Powerline Vim & Agnoster theme
An oh-my-zsh theme based on Powerline Vim & Agnoster theme
Hi, I just want to change the color of foreground and background, but the changes are surrounding with basic colors like red, blue, green, yellow..., the screenshot of agnosterzak is awesome but when it displays on my terminal. it is not like the same as screenshot, so I want to add the custom colors to this theme with color code like #2D2D2D, so how to change this, thank you.
Here is my terminal: http://imgur.com/a/iKQle
When I download file and put to .oh-my-zsh/custom/themes I got this error
$HOME/oh-my-zsh/custom/themes/agnosterzak.zsh-theme:9: parse error near `\n'
Is there any way to fix it?
The function "battery_pct_remaining", will either echo the current battery percentage if the battery is discharging, or "External power" if it is charging, however it is only ever called for display on lines 135 and 174 after checking that the battery is discharging, therefore "External power" will never be displayed, and the current battery percentage is not displayed while charging. Not sure if this is intentional so I'm opening it up as an issue, but I have a fix ready to go if you want me to open a pull request.
Below is an example of the terminal while not charging, and charging, before I've applied the fix.
And here is an example of the terminal while not charging, and charging after I've applied the fix.
Hi zakaziko,
Would you mind sharing your color scheme and font name ? The one shown on the screenshots looks nice but haven't been able to find it (tested almost all the fonts listed).
Is it the stock Solarized Dark with Menlo+Powerline ? Colors seem off.
Hi there,
I can't get the colors to change with the current version of the theme... :(
Could you please help me setup the change of the color when Git changes occur? Only the status is working...
Hello
In my laptop I have two batteries.
in console values from both batteries are concatenated.
Example:
First has 99%
Second has 76%
In console I see 9976%.
Battery percentage isn't showing up instead I see a setting shaped icon. I use linux mint (gnome-terminal)
agnosterzak-ohmyzsh-theme/agnosterzak.zsh-theme
Lines 156 to 164 in 1a6bd15
I worked around by forcing it to true but someone has to have a look.
I have acpi installed on machine, and that line is where it fails to enter through
battery_pct:2: bad math expression: illegal character: "
prompt_battery:[:39: unknown condition: -gt
prompt_battery:[:41: unknown condition: -gt
battery_pct:2: bad math expression: illegal character: "
my solution:
function battery_pct() {
local smart_battery_status="$(ioreg -rc "AppleSmartBattery")"
typeset -F maxcapacity=$(echo $smart_battery_status | grep '^."MaxCapacity"\ =\ ' | sed -e 's/^."MaxCapacity"\ =\ //' | awk -F' ' '{print $1}')
typeset -F currentcapacity=$(echo $smart_battery_status | grep '^.*"CurrentCapacity"\ =\ ' | sed -e 's/^.*CurrentCapacity"\ =\ //' | awk -F' ' '{print $1}')
integer i=$(((currentcapacity/maxcapacity) * 100))
echo $i
}
Hi @zakaziko99 ,
Thank you for making this theme. This is my first time using oh-my-zsh and your theme caught my eye. I'm just having some trouble getting the font type and colors to match up to those in your screenshots. The coloring is off (and quite blinding), and I can't get the triangle to match up with the line. I installed the fonts suggested. Do you have any idea what the issue may be?
hi i'm user of agnosterzak from long time. I made almost the same time to realize that acpi is needed to show battery life. I've just made a clean install of ubuntu 17.10 and battery life in agnosterzak shows 1000% or 990% actually. Will keep you informed if 100% = 10%
You can do the following to have the output messed up:
♥ 10000% Don 2 Nov - 23:57 ~
@nomike cd ~
♥ 10000% Don 2 Nov - 23:57 ~
@nomike cd /s
If you now press the -key this happens:
♥ 10000% Don 2 Nov - 23:57 ~
@nomike cd /s cd /s
sbin/ snap/ srv/ sys/
I change the themes from agnoster to agnosterzak,then I found that the "Tab"(auto complete function) sometimes will no align the position it should be,
Everything went fine so far except the info on battery status.. I am on Arch and nothing displays beside date&time!
Thank you for your work!
Mat
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.