There could be a few reasons why your bash aliases are not working in Warp:
-
Alias Expansion: Warp has a feature called "Alias Expansion" which can be toggled on and off. If this feature is enabled, it might be causing issues with your aliases. You can check this setting by navigating to Settings > Features > Editor and toggling “Expand aliases as you type”. Alternatively, you can press CMD-P to open the Command Palette, search for the “Enable/disable alias expansion” option and hit ENTER[^1^][^7^].
-
Incompatible Tools: Warp might not be able to parse certain custom prompts, themes, or plugins. If you're using any such tools, they might be interfering with your aliases. You can check the list of incompatible tools here (https://docs.warp.dev/help/known-issues#list-of-incompatible-tools)[^1^][^2^].
-
Custom Functions: If your aliases are defined as custom functions, please note that Warp currently supports completions for aliases but not for functions[^1^][^2^].
-
Shell Setting: Make sure that your default shell in Warp is set to bash. You can check this by navigating to Settings > Features > Session > Startup shell for new sessions[^3^].
If none of the above solutions work, it might be helpful to isolate the issue by setting up clean configs or disabling parts of your dotfiles just for Warp. You can do this by running the following command:
echo 'BASH_ENV=/' > ~/.bashrc
This forces bash to run with zero configs. You can also use the following conditional statement to disable parts of your dotfiles just for Warp:
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
> What you want to disable here <
fi
If the problem persists, I recommend reaching out to the Warp support team or checking their documentation for more detailed troubleshooting steps[^3^][^4^][^5^][^6^].