Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
/ homebrew-scripts Public archive

Homebrew repository to easily install and share various little scripts and programs.

License

Notifications You must be signed in to change notification settings

jansabbe/homebrew-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scripts

Homebrew repository to easily install and share various little scripts and programs.

withprofile

An JXA script that temporarily allows you to change the current profile in your osx terminal. Usefull if you want to change the background to red while sshing to a remote server.

Example usage:

withprofile "silver aerogel" vim

When vim ends, you go back to your original profile. In OSX Terminal Preferences, change New tabs open with to Default Profile to avoid unexpected behavior when opening new tabs.

Tip: Adding alias ssh='withprofile "Red Sands" caffeinate /usr/bin/ssh' to your ~/.bashrc or ~/.zshrc will avoid putting your mac to sleep while connecting to a remote server. The red background will remind you of your connection to a remote server.

You can also leave off the command. When you run withprofile "red sands", it will change the profile for the current tab.

Installation:

brew install jansabbe/scripts/withprofile

About

Homebrew repository to easily install and share various little scripts and programs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published