Make Warp as default Terminal [Mac]
Warp is a native terminal app for macOS, reimagined to be fast, powerful, and remarkably user-friendly. Built with Rust for performance, Warp aims to provide a fresh, modern take on the traditional command-line experience, packed with features to streamline your workflow.
However unlike iTerm2 there is no easy way to make it default termianl.
When I look into source code of Iterm2, I found a simple C code tha can do the job. First save it as set-default-terminal.m
Note, bundle id of an Mac app can simply be obtained from
1
osascript -e 'id of app "Warp"'
You can simply compile with
1
2
3
4
5
# Make sure xcode commandline tools is installed.
#If not run xcode-select --install
clang -framework Foundation -framework CoreServices -o SetDefaultTerminal set-default-terminal.m
Then simply execute the program from current path
1
./set-default-terminal
This post is licensed under CC BY 4.0 by the author.