Skip to content

remove title because it breaks kitty #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions prompt/oh-my.nu
Original file line number Diff line number Diff line change
Expand Up @@ -521,11 +521,15 @@ export def git_prompt [] {
# osc2 some_string string_terminator aka (char osc)2;($some_string)(ansi st) or "\u001b];($some_string)\\"
# where string_terminator is \
# so you might want to play around with these settings a bit
let abbrev = ((path_abbrev_if_needed (home_abbrev $os.name) 30) | ansi strip)

#let abbrev = ((path_abbrev_if_needed (home_abbrev $os.name) 30) | ansi strip)

# $"\u001b]0;($abbrev)"
# note that this isn't ending properly with a bel or a st, that's
# because it makes the string echo to the screen as an empty line
$"(ansi osc)2;($abbrev)"

# turning off now since a similar thing is built into nushell + it breaks kitty
#$"(ansi osc)2;($abbrev)"

# return in record literal syntax to be used kind of like a tuple
# so we don't have to run this script more than once per prompt
Expand Down