-
-
Save dzikoysk/d8d97ad0220b5a151fe65b4f84c4b437 to your computer and use it in GitHub Desktop.
Warp Terminal on Linux (~/.local/bin/warp)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| dir="$(realpath "${1:-$PWD}")" | |
| [[ -d "$dir" ]] || { echo "warp: not a directory: $dir" >&2; exit 1; } | |
| DBUS_SESSION_BUS_ADDRESS=unix:path=/dev/null \ | |
| WARP_INITIAL_WORKING_DIR="$dir" \ | |
| setsid -f warp-terminal >/dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment