Hi, I'm zthxxx, a web developer 😄
💖 Love open-source work and watching anime 👀
💡 Passion for do project that improve dev experience, or relate to anime
⚡ Always in learning some cool technology driven by curiosity 😎
Jovial - A lovely zsh theme with responsive-design, it's pretty fast, keep simple but useful
License: MIT License
Hi @zthxxx ,
First congratulations for this beautiful work!
I'm having this bug when use the Git and the repository contains changes.
1° When I open an empty Terminal and navigate to the repository folder:
2º When I open the terminal directly on repository folder on Nautilus:
What can be this error?
Hello,
When I installed your theme, the plugins
section of my .zshrc
was left in an unusable state.
There appears to have been a trailing n
after every plugin name, IE git
became gitn
, autojump
became autojumpn
, etc, etc....
I thought I should bring this to your attention.
Otherwise, delightful work, I really like the theme you made ^_^
Hi! I was trying to add conda integration for the theme. To show the conda venv name I need to look not only ant $VIRTUAL_ENV
(used by default python) but also at $CONDA_DEFALUT_ENV
variable.
So I started simply duplicating the @jov.venv-info-prompt()
inside jovial.zsh-theme
file:
@jov.conda-info-prompt() {
[[ -z ${CONDA_DEFAULT_ENV} ]] && return 0
echo "${JOVIAL_PALETTE[normal]}(${JOVIAL_PALETTE[venv]}$(basename $CONDA_DEFAULT_ENV)${JOVIAL_PALETTE[normal]}) "
}
I've added the reference also here:
echo "${SGR_RESET}${corner_bottom}$(@jov.typing-pointer) $(@jov.venv-info-prompt) $(@jov.conda-info-prompt) ${SGR_RESET}"
And it worked very well.
Now I want to try something more since, once installed Anaconda, conda environment is always settled on base
I want the prompt to show me the $CONDA_DEFAULT_ENV
only when it's not equal to base
value.
I've tried, without success, this:
@jov.conda-info-prompt() {
if [["${CONDA_DEFAULT_ENV}" != "base"]]; then
echo "${JOVIAL_PALETTE[normal]}(${JOVIAL_PALETTE[venv]}$(basename $CONDA_DEFAULT_ENV)${JOVIAL_PALETTE[normal]}) "
fi
}
but I recieve this error when I start a new terminal window:
@jov.conda-info-prompt:2: no matches found: [[base!=base]]
Suggestion to fix that and maybe finalize these changes? If possible I want to make also a commit with this. Conda it's very used by python developers and could be a nice add to the theme :)
First of all, thank you for a very nice project. 👍
I am using M1 Mac Air
.
The terminal uses iTerm
, and the font is applied with Monaco
.
There is no problem with iTerm, but there is a problem with the Intellij terminal
.
Intellij font is Jetbrains Mono
, and the font spacing is 1.0
.
As you can see in the image, the branch name is displayed below the time, and the last character goes to the next line.
This problem only occurs in Intellij terminals.
Since the branch name is already displayed on the top line, I think it is redundant to display it again under the time.
What do you think about removing the branch name displayed under the time?
Hi,
When using hashtags with the jovial theme the color of the hashtag and the text after the hashtag becomes black and hard to see with a dark terminal background. Is there a way to change the color?
Regards
after installation, I have those errors :
update_terminal_cwd:12: failed to load module `zsh/pcre': dlopen(/usr/lib/zsh/5.7.1/zsh/pcre.so, 9): image not found
update_terminal_cwd:12: -pcre-match not available for regex
regexp-replace:28: failed to load module `zsh/pcre': dlopen(/usr/lib/zsh/5.7.1/zsh/pcre.so, 9): image not found
regexp-replace:28: -pcre-match not available for regex
regexp-replace:28: failed to load module `zsh/pcre': dlopen(/usr/lib/zsh/5.7.1/zsh/pcre.so, 9): image not found
regexp-replace:28: -pcre-match not available for regex
regexp-replace:28: failed to load module `zsh/pcre': dlopen(/usr/lib/zsh/5.7.1/zsh/pcre.so, 9): image not found
regexp-replace:28: -pcre-match not available for regex
regexp-replace:28: failed to load module `zsh/pcre': dlopen(/usr/lib/zsh/5.7.1/zsh/pcre.so, 9): image not found
regexp-replace:28: -pcre-match not available for regex
do you have ant idea why ?
Hi I'm trying to install this theme with oh-my-zsh on Mac OS Catalina 10.15.7.
I get this error when I open a new terminal window after installing Jovial theme:
update_terminal_cwd:12: failed to load module `zsh/pcre': dlopen(/usr/lib/zsh/5.7.1/zsh/pcre.so, 9): image not found
update_terminal_cwd:12: -pcre-match not available for regex
regexp-replace:28: failed to load module `zsh/pcre': dlopen(/usr/lib/zsh/5.7.1/zsh/pcre.so, 9): image not found
regexp-replace:28: -pcre-match not available for regex
regexp-replace:28: failed to load module `zsh/pcre': dlopen(/usr/lib/zsh/5.7.1/zsh/pcre.so, 9): image not found
regexp-replace:28: -pcre-match not available for regex
regexp-replace:28: failed to load module `zsh/pcre': dlopen(/usr/lib/zsh/5.7.1/zsh/pcre.so, 9): image not found
regexp-replace:28: -pcre-match not available for regex
regexp-replace:28: failed to load module `zsh/pcre': dlopen(/usr/lib/zsh/5.7.1/zsh/pcre.so, 9): image not found
regexp-replace:28: -pcre-match not available for regex
I don't have pcre.so file in /usr/lib/zsh/5.7.1/zsh/, do you know how I would install it?
Hi,
I was trying out your zsh theme and I noticed some inconsistency in the bold text. Some of my commands had bold text and some did not. It's difficult to reproduce the bug but it's definitely there after you've used the theme for some time.
I believe I managed to track the source of the issue to the lack of %b
in https://github.com/zthxxx/jovial/blob/master/jovial.zsh-theme#L139 Making this change helped solved the inconsistency in the bold text. I suspect that exit-code.suffix
may also require this change.
Hi, I run the script as instructed
And upon launching the terminal I see this before the shell:
[oh-my-zsh] plugin 'zsh-history-enquirer' not found
I have tried installing that individually as well, but to no avail
Using both the npm
command and the curl
one
How can I install this theme with zimfw !?
Currently the execution time will be measured and displayed for tools like man
and less
. This is usually undesired since there is no value in knowing how long a man page was open.
I have a "node_modules" directory in my home directory because of globally-installed node.js packages.
Suggested fix: Do not detect the home directory as a project
When opening Terminal on macOS, I get the following errors:
/Users/emotality/.oh-my-zsh/themes/jovial.zsh-theme:13: command not found: add-zsh-hook
/Users/emotality/.oh-my-zsh/themes/jovial.zsh-theme:218: command not found: add-zsh-hook
Exporting TERM
here is unexpected and causes issues when there's a mismatch between the capabilities of xterm-256color
and your actual terminal. e.g. I expected $terminfo[fsl]
and $terminfo[tsl]
to be available for iTerm/Alacritty, but it's not available because my environment thinks TERM=xterm-256color
Line 33 in 0bb2bab
OS: MacOS 12.0.1
Shell: zsh 5.8 (x86_64-apple-darwin21.0)
Terminal: iTerm2 Build 3.4.12
And here is my little zshrc file to reproduce this problem:
ZPLUGINDIR=$HOME/.zsh/plugins
function load-file () {
local url="$1"
local file_name=${${url##*/}%}
local dir_name="${ZPLUGINDIR:-$HOME/.zsh/plugins}/$file_name"
if [[ ! -d $dir_name ]]; then
mkdir -p $dir_name
fi
if [[ ! -f $dir_name/$file_name ]]; then
echo "Downloading $url..."
curl -sSL $url -o $dir_name/$file_name
fi
source $dir_name/$file_name
fpath+=$dir_name
}
setopt prompt_subst
autoload -U colors && colors
typeset -AHg FG BG
for color in {000..255}; do
FG[$color]="%{\e[38;5;${color}m%}"
BG[$color]="%{\e[48;5;${color}m%}"
done
files=(
https://github.com/zthxxx/jovial/raw/master/jovial.zsh-theme
)
for file in $files; do
load-file ${file}
done
unset file
But it worked if I source theme the theme file ~/.zsh/plugins/jovial.zsh-theme/jovial.zsh-theme
interactively.
I have no idea whats going on 🥵
When will the win version come out?
Hi! Thanks for the amazing work, I'm loving jovial. One thing that I wish I could customize is the size of the path.
right now I have the full path ~/code/manegarrincha/portfolio/app/assets/stylesheets
I wish I could have just ~/stylesheets
.
Or perhaps choose the number of folders displaying. i.e folders{2}
-> ~/assets/stylesheets
I've tried to look into but wasn't successful =/
Hey everyone!
I'm trying to override the theme variables such as: JOVIAL_SYMBOL and JOVIAL_PALETTE but unfortunately no success yet.
First I did what you recommended on symbols section, but then I got the following error assignment to invalid subscript range
. After doing some researches I could fix this error by adding typeset -gA JOVIAL_SYMBOL
before any assignments of JOVIAL_SYMBOL
to reset the type (same thing for JOVIAL_PALETTE
).
I'm currently not getting any error but the customization is not working, it's always getting jovial default values.
Here's my ~/.zshrc
setting for it:
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="jovial"
typeset -gA JOVIAL_SYMBOL
JOVIAL_SYMBOL[git.dirty]='✘'
JOVIAL_SYMBOL[arrow]='->'
JOVIAL_SYMBOL[arrow.git-clean]='->'
JOVIAL_SYMBOL[arrow.git-dirty]='->'
typeset -gA JOVIAL_PALETTE
JOVIAL_PALETTE[host]='%F{218}'
JOVIAL_PALETTE[user]='F{224}'
JOVIAL_PALETTE[root]='%B%F{204}'
JOVIAL_PALETTE[path]='%B%F{162}%}'
JOVIAL_PALETTE[git]='%F{198}'
JOVIAL_PALETTE[venv]='%F{212}'
JOVIAL_PALETTE[time]='%F{225}'
I don't really know what could it be, could you help me pls?
Thanks 🎀
###i want delete the first empty line
(this line im talking about)
╭─[xxxxxxxx] as xxxxxxx in ~ 20:54:19
╰──>
i don't know work with shell, sorry :s
While installing and after typing the command given in the readme file i get this error :
chsh: no changes made
sed: 1: "/Users/mac/.zshrc": invalid command code m
sed: 1: "/Users/mac/.zshrc": invalid command code m
Warning: git 2.20.1 is already installed and up-to-date
To reinstall 2.20.1, run brew reinstall git
sed: 1: "/Users/mac/.zshrc": invalid command code m
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.