-
Notifications
You must be signed in to change notification settings - Fork 344
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
Auto warpify #4891
Comments
Hi @alaidine You can add the following line to your zshrc file to automatically warpify the subshell. See more in our docs. https://docs.warp.dev/features/subshells#automatically-warpify-subshells
Please let us know if this helps with your use case. |
Hey @dannyneira I tried it and it worked. |
Hey. I've tried this as described in the docs and it's not working. I'm using |
@samyouel can you show me your .zshrc. |
hey, it's got quite a few aliases in it (that's probably not the best way to do these things I know but for now it works good for me) # # ----------------- OH MY ZSH --------------------
# Path to your oh-my-zsh installation.
export ZSH="/Users/***/.oh-my-zsh"
# THEMES: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="zhann"
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Plugins
plugins=(git)
source $ZSH/oh-my-zsh.sh
# .....
# Quite a few aliases
# ....
# ----------------- VS CODE ---------------------
export EDITOR="code -w"
# ---------------- Node --------------------------
export PATH="/usr/local/sbin:$PATH"
# ----------------- Ruby -------------------------
export PATH=$PATH:"$HOME/.rbenv/shims/rdbg"
# -------------------- PHP -----------------------
export PATH="/opt/homebrew/opt/php@8.1/bin:$PATH"
export PATH="/opt/homebrew/opt/php@8.1/sbin:$PATH"
# # ---------------- Composer ------------------
export PATH="$HOME/.composer/vendor/bin:$PATH"
# # ----------------- PNPM ---------------------
export VOLTA_FEATURE_PNPM=1
# # # ------------ WARP Subshells --------------
printf '\eP$f{"hook": "SourcedRcFileForWarp", "value": { "shell": "zsh"}}\x9c'
Something like this. Don't really get where the issue should be? |
@samyouel When i put the warp subshell line it works for my shell i dont know why it doesnt work for you, sorry if I couldn't help you. |
Dupe Check
Describe the solution you'd like?
when i change something in my shell config and run the exec zsh command i want warp to automatically warpify instead of just asking me if i want to warpify.
Is your feature request related to a problem? Please describe.
No response
Additional context
No response
How important is this feature to you?
1 (Not too important)
Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1
None
The text was updated successfully, but these errors were encountered: