Giter Club home page Giter Club logo

Comments (6)

kovidgoyal avatar kovidgoyal commented on June 16, 2024

Works fine for me. I suggest you follow the issue tmeplate provide the
requested information, then you might get more asistance.

from kitty.

quadans avatar quadans commented on June 16, 2024

kitty 0.31.0 created by Kovid Goyal
Linux hax 6.7.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 23 Feb 2024 16:31:48 +0000 x86_64
Arch Linux 6.7.6-arch1-1 (/dev/tty)

Running under: X11
Frozen: False
Paths:
kitty: /usr/bin/kitty
base dir: /usr/lib/kitty
extensions dir: /usr/lib/kitty/kitty
system shell: /sbin/zsh
Loaded config files:
/home/pal/.config/kitty/kitty.conf

Config options different from defaults:
confirm_os_window_close 0
cursor_shape 3
enable_audio_bell False
font_family CommitMonoNerdFont
font_size 18.0
shell_integration frozenset({'disabled'})
Colors:
background #0e1419
color1 #ff3333
color10 #e9fe83
color11 #fff778
color12 #68d4ff
color13 #ffa3aa
color14 #c7fffc
color2 #b8cc52
color3 #e6c446
color4 #36a3d9
color5 #f07078
color6 #95e5cb
color7 #ffffff
color8 #323232
color9 #ff6565
cursor #87ff87
foreground #e5e1cf
selection_background #243340
selection_foreground #0e1419

Important environment variables seen by the kitty process:
PATH /sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
LANG C.UTF-8
EDITOR nvim
SHELL /sbin/zsh
DISPLAY :0
USER pal
XDG_SEAT seat0
XDG_SESSION_DESKTOP xmonad
XDG_SESSION_TYPE x11
XDG_SESSION_CLASS user
XDG_VTNR 2
XDG_SESSION_ID 1
XDG_RUNTIME_DIR /run/user/1000
XDG_DATA_DIRS /home/pal/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share

from kitty.

kovidgoyal avatar kovidgoyal commented on June 16, 2024

Works fine for me with:
kitty --config=NONE -o shell_integration=no-cursor -o cursor_shape=underline -o shell=cat
and also with:
kitty --config=NONE -o shell_integration=no-cursor -o cursor_shape=underline -o shell=zsh

If its not working for you with the latter, it means something in your
zshrc is setting the cursor shape. As noted in the docs for the
cursor_shape option it is applied only when the program running in the
terminal doesnt set a cursor shape

from kitty.

quadans avatar quadans commented on June 16, 2024

Funny thing is your debug code also doesnt work for me. It starts the console with normal cursor and not underline. What the hell. My .zshrc has only this:

# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt EXTENDED_HISTORY
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/pal/.zshrc'

autoload -Uz compinit
compinit
# End of lines added by compinstall

export EDITOR=nvim
export BROWseR="brave"
PROMPT='%B%F{120}%~ >%f%b '
RPROMPT='%F{008}%T%f'

from kitty.

kovidgoyal avatar kovidgoyal commented on June 16, 2024

There is a whole bunch of files involved in zsh startup not just zshrc. Read man zsh for details.

from kitty.

quadans avatar quadans commented on June 16, 2024

I dont have .zshenv, .zprofile, .zlogin or .zlogout. Neither in home dir nor in /etc/

Edit 1: The cmd kitty -o shell_integration=no-cursor -o cursor_shape=underline -o shell=bash works. When I change the shell to zsh, it doesnt. It seems it is not the config but somehow the shell. But I dont know what forces the shell to override kitty cursor?

Edit 2: When I delete the .zshrc, it also works. But when I remove everything in the .zshrc, so that it is empty, it doesnt work lol. Im confused.

Edit 3: I just installed alacritty, a different terminal ,and wrote cursor: style: Underline into the alacritty.yml config, when I start alacritty it works. And with echo $SHELL it gives me /sbin/zsh. So the problem is definitely kitty.

from kitty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.