Comments (16)
The starship initialization is less sticky than that of some other prompts. Please try disabling your other shell theme by running prompt off
or commenting/removing the ZSH_THEME="powerlevel10k/powerlevel10k"
and [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
parts of your .zshrc
.
from starship.
The starship initialization is less sticky than that of some other prompts. Please try disabling your other shell theme by running
prompt off
or commenting/removing theZSH_THEME="powerlevel10k/powerlevel10k"
and[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
parts of your.zshrc
.
Should I create a new .zshrc
file with only eval "$(starship init zsh)"
?
It will be helpful if you can provide me a sample .zshrc
with the necessery things.
from starship.
Removing or adding #
before the lines containing the text in your .zshrc
I mentioned will likely suffice.
from starship.
Removing or adding
#
before the lines containing the text in your.zshrc
I mentioned will likely suffice.
I have put #
before that two lines, and then did source ~/.zshrc
and still nothing changed.. i closed and reopened warp, it's showing the same old terminal design.
https://spaceb.in/kaZJabdl this is the .zshrc
file.
Ok one thing. Surprisingly the terminal inside my vs code is with the brand new rainbow look but not warp.
![Screenshot 2024-03-18 at 11 30 46 PM](https://private-user-images.githubusercontent.com/102276321/313787979-847230c1-bd60-44d2-8eff-8e92a1a25db4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgzNjY4MzUsIm5iZiI6MTcxODM2NjUzNSwicGF0aCI6Ii8xMDIyNzYzMjEvMzEzNzg3OTc5LTg0NzIzMGMxLWJkNjAtNDRkMi04ZWZmLThlOTJhMWEyNWRiNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0y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glw_hMo8eD6R8LorOoey32Undw)
One thing both terminals have zsh as default. Verified from echo $0
.
from starship.
Warp uses its own built-in prompt, and custom prompts like starship only work when support for that is enabled in the warp settings.
from starship.
Warp uses its own built-in prompt, and custom prompts like starship only work when support for that is enabled in the warp settings.
Can you please help me out how to do that?
from starship.
https://docs.warp.dev/appearance/prompt#custom-prompt
from starship.
OK so now I have seen the video but when I reopen the warp its not showing the new design. but when i did exec zsh
then its applying. everytime i am doing exec zsh
to apply the new effects. any way how to set it default.?
from starship.
Per the link I gave, the relevant setting has moved from the location shown in the video, if the instructions above the video don't work, please try asking the support for warp instead.
from starship.
Per the link I gave, the relevant setting has moved from the location shown in the video, if the instructions above the video don't work, please try asking the support for warp instead.
Thanks it moved to appearance section.
from starship.
Got solution. Thanks to the awesome starship team.
from starship.
Per the link I gave, the relevant setting has moved from the location shown in the video, if the instructions above the video don't work, please try asking the support for warp instead.
Hi I want to show the battery, cpu load, disk_usage, ram free, public_ip. how to do what?
"$schema" = 'https://starship.rs/config-schema.json'
format = """
[](surface0)\
$os\
$username\
[](bg:peach fg:surface0)\
$directory\
[](fg:peach bg:green)\
$git_branch\
$git_status\
[](fg:green bg:teal)\
$c\
$rust\
$golang\
$nodejs\
$php\
$java\
$kotlin\
$haskell\
$python\
[](fg:teal bg:blue)\
$docker_context\
[](fg:blue bg:purple)\
$time\
[ ](fg:purple)\
$line_break$character"""
palette = 'catppuccin_mocha'
[palettes.gruvbox_dark]
color_fg0 = '#fbf1c7'
color_bg1 = '#3c3836'
color_bg3 = '#665c54'
color_blue = '#458588'
color_aqua = '#689d6a'
color_green = '#98971a'
color_orange = '#d65d0e'
color_purple = '#b16286'
color_red = '#cc241d'
color_yellow = '#d79921'
[palettes.catppuccin_mocha]
rosewater = "#f5e0dc"
flamingo = "#f2cdcd"
pink = "#f5c2e7"
orange = "#cba6f7"
red = "#f38ba8"
maroon = "#eba0ac"
peach = "#fab387"
yellow = "#f9e2af"
green = "#a6e3a1"
teal = "#94e2d5"
sky = "#89dceb"
sapphire = "#74c7ec"
blue = "#89b4fa"
lavender = "#b4befe"
text = "#cdd6f4"
subtext1 = "#bac2de"
subtext0 = "#a6adc8"
overlay2 = "#9399b2"
overlay1 = "#7f849c"
overlay0 = "#6c7086"
surface2 = "#585b70"
surface1 = "#45475a"
surface0 = "#313244"
base = "#1e1e2e"
mantle = "#181825"
crust = "#11111b"
[os]
disabled = false
style = "bg:surface0 fg:text"
[os.symbols]
Windows = ""
Ubuntu = ""
SUSE = ""
Raspbian = ""
Mint = ""
Macos = ""
Manjaro = ""
Linux = ""
Gentoo = ""
Fedora = ""
Alpine = ""
Amazon = ""
Android = ""
Arch = ""
Artix = ""
CentOS = ""
Debian = ""
Redhat = ""
RedHatEnterprise = ""
[username]
show_always = true
style_user = "bg:surface0 fg:text"
style_root = "bg:surface0 fg:text"
format = '[ $user ]($style)'
[directory]
style = "fg:mantle bg:peach"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
[directory.substitutions]
"Documents" = " "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
"Developer" = " "
[git_branch]
symbol = ""
style = "bg:teal"
format = '[[ $symbol $branch ](fg:base bg:green)]($style)'
[git_status]
style = "bg:teal"
format = '[[($all_status$ahead_behind )](fg:base bg:green)]($style)'
[nodejs]
symbol = ""
style = "bg:teal"
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
[c]
symbol = " "
style = "bg:teal"
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
[rust]
symbol = ""
style = "bg:teal"
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
[golang]
symbol = ""
style = "bg:teal"
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
[php]
symbol = ""
style = "bg:teal"
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
[java]
symbol = " "
style = "bg:teal"
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
[kotlin]
symbol = ""
style = "bg:teal"
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
[haskell]
symbol = ""
style = "bg:teal"
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
[python]
symbol = ""
style = "bg:teal"
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
[docker_context]
symbol = ""
style = "bg:mantle"
format = '[[ $symbol( $context) ](fg:#83a598 bg:color_bg3)]($style)'
[time]
disabled = false
time_format = "%I:%M %p"
style = "bg:peach"
format = '[[ $time ](fg:mantle bg:purple)]($style)'
[line_break]
disabled = false
[character]
disabled = false
success_symbol = '[](bold fg:green)'
error_symbol = '[](bold fg:red)'
vimcmd_symbol = '[](bold fg:creen)'
vimcmd_replace_one_symbol = '[](bold fg:purple)'
vimcmd_replace_symbol = '[](bold fg:purple)'
vimcmd_visual_symbol = '[](bold fg:lavender)'
this is my starship.toml config file. and it shows like this
from starship.
SOLVED IT THANKS
from starship.
Per the link I gave, the relevant setting has moved from the location shown in the video, if the instructions above the video don't work, please try asking the support for warp instead.
![Screenshot 2024-03-19 at 11 02 27 AM](https://private-user-images.githubusercontent.com/102276321/313972099-2b6c862d-6c08-462a-814e-616a6ea8fc2e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgzNjY4MzUsIm5iZiI6MTcxODM2NjUzNSwicGF0aCI6Ii8xMDIyNzYzMjEvMzEzOTcyMDk5LTJiNmM4NjJkLTZjMDgtNDYyYS04MTRlLTYxNmE2ZWE4ZmMyZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYxNFQxMjAyMTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMDI5MWY4ZjdmNWQ4MDRhNjUwM2QwMjNhMTdhNTk0YzFmMjZkZmJhMjczNzY2ODFiY2YxOTRlYjA0YjBkZmVjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.UczpqyooAdb3VB_PeZMPlMSHTz9c5KdMGasvRDdVQX8)
How to diable that (myvenv) prefix in the first line .
I have set VIRTUAL_ENV_DISABLE_PROMPT=1
and in my python folder. in the myvenv/bin/activate
this code is present
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then
_OLD_VIRTUAL_PS1="${PS1:-}"
PS1="(myvenv) ${PS1:-}"
export PS1
VIRTUAL_ENV_PROMPT="(myvenv) "
export VIRTUAL_ENV_PROMPT
fi
from starship.
Starship also sets VIRTUAL_ENV_DISABLE_PROMPT
to 1
for zsh
. You may need to ensure that this it is set early enough in the shell init process.
from starship.
Starship also sets
VIRTUAL_ENV_DISABLE_PROMPT
to1
forzsh
. You may need to ensure that this it is set early enough in the shell init process.
Thanks :) I wrote it in the first line of .zshrc
file and it solved.
from starship.
Related Issues (20)
- Bump gitoxide version to re-enable windows-gnu builds HOT 1
- [WARN] - (starship::utils): Executing command "/usr/bin/git" timed out. HOT 11
- Starship causes unexistent command to be called and consequently showing an error HOT 4
- Prompt showing aws even when not assumed HOT 1
- Starship ignores `STARSHIP_CONFIG` environment variable on startup HOT 3
- custom commands not working inside starship bash shell HOT 4
- Fortune equivalent for starship?
- detect_input
- starship in Windows PowerShell only shows the current directory
- Current interface with IP Address info
- Windows: Escape Sequences Issue with `starship init nu` in Nushell HOT 3
- trailing spaces being removed from prompt when using nix_shell in tmux HOT 1
- Extra empty line at the top of the terminal HOT 1
- Init.nu fails after upgrading nushell from v0.93.0 to v0.94.1 HOT 2
- No Git Information/Status Shown in Prompt When Inside Git Repo With SHA256 Hashing
- [BUG] direnv style specifies a non-standard color HOT 1
- [custom] Inconsistent handling of colors from subshell when using custom module HOT 2
- Add option for aliasing known hostnames in config
- `starship module ...` not displaying any output to stdin with the exception of `starship module character`
- Kubernetes module not working on Powershell
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from starship.